ContextActionService:BindAction() documentation suggests usage of RobloxScriptSecurity method 'CallFunction'

The documentation says that you can manually call the action handling function of an action by using CallFunction, a RobloxScriptSecurity method that is also completely undocumented.

Current Documentation:

Bind an action to user input given an action handling function. Upon a matching input being performed, the action handler function will be called with the arguments listed below. Valid input enum items include those within the following: Enum.KeyCode, Enum.UserInputType or Enum.PlayerActions . Call this function when a player enters the context in which an action can be performed. When the player leaves the context, call UnbindAction with the same actionName. You can manually call the action handling function of an action by using CallFunction.

image

Page URL: https://create.roblox.com/docs/reference/engine/classes/ContextActionService#BindAction

2 Likes

Thanks for the report. This has been updated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.