Input

mouse2release

Sends a right mouse up event when the Roblox window is active.

Syntax

mouse2release()

Description

Sends a right mouse up event when the Roblox window is active. The function takes no arguments, returns nothing, does not send a matching right mouse down event, and returns without sending input when isrbxactive would be false.

Call it without parameters. The function reads the needed context from the current runtime state.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

mouse2release()