ShapeClass.client_canInteractThroughJoint

Called to check whether the Interactable can be interacted with through a child Joint at this moment.

Kind: Callback

Environments: Game

Game

Callback side: Client

ShapeClass:client_canInteractThroughJoint( character, joint )

Open the full Game reference

Note: This callback can also be used to change the interaction text shown to the player using sm.gui.setInteractionText. (Defaults to "E Use")

Parameters:

Name Type Description
self table The class instance.
character Character The Character of the Player that is looking at the Joint.
joint Joint The Joint.

Returns:

Type Description
boolean A boolean indicating whether the interactable can be interacted with or not. (Defaults to true if client_onInteractThroughJoint is implemented, otherwise false)