This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
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
The name of the action originally passed to BindAction
An ImageButton created by BindAction