PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

GetButton

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.

Parameters

Name Type Default Description

The name of the action originally passed to BindAction

Returns

Return Type Summary

An ImageButton created by BindAction