YaAbility¶
BETA
The callback parameter of the Tool ability event
Functions¶
float3 GetHandlePoint()¶
SERVER ONLY BETA
You need to enable the InputOptions option of Ability Settings to get the correct value.
Gets the position of the Tool binding point when the Ability is activated
number GetRaycastTarget()¶
SERVER ONLY BETA
You need to enable the InputOptions option of Ability Settings to get the correct value.
Get the raycast target directly in front of the Ability when activated (Ignore the owner of the current tool)
number GetPressedDuration()¶
SERVER ONLY BETA
You need to enable the InputOptions option of Ability Settings to get the correct value.
If Ability is bound to the Input Up event, the duration of down to up is returned (second)