Skip to content

YaAbility

Beta
The callback parameter of the Tool ability event

Functions

float3 GetHandlePoint()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()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()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)