Collapse Sidebar


GetButton returns the ImageButton created by ContextActionService/BindAction|BindAction if its third parameter was true and the device is UserInputService/TouchEnabled|TouchEnabled. The only parameter to this function must match exactly the name of the action originally sent to BindAction.

If no such action was bound or if a button was not created, this function returns nil.


Name Type Default Description

The name of the action originally passed to BindAction


Return Type Summary

An ImageButton created by BindAction