pointer Down
fun pointerDown(stateMachineHandle: StateMachineHandle, fit: Fit, surfaceWidth: Float, surfaceHeight: Float, pointerID: Int, pointerX: Float, pointerY: Float)
Notify the state machine that the pointer (typically a user's touch) has touched down. This is used to interact with the state machine, triggering pointer events.
The additional parameters are required for calculating the pointer position in artboard space.
Parameters
state Machine Handle
The handle of the state machine to notify.
fit
The fit mode of the artboard.
surface Width
The width of the surface the artboard is drawn to.
surface Height
The height of the surface the artboard is drawn to.
pointer X
The X coordinate of the pointer in surface space.
pointer Y
The Y coordinate of the pointer in surface space.
Throws
If the CommandQueue has been released.