StaticisWhether a pointer is currently manipulating a scene object.
StaticmouseCurrent mouse x position in world space.
StaticmouseCurrent mouse y position in world space.
StaticobjectActive world-space alignment guides for the current object drag.
StaticaddAdds a global click listener that will be called when the canvas is clicked.
The function to run when a click occurs.
StaticcancelRoll back any in-progress object manipulation.
StaticgetPolls an action as a signed value between -1 and 1. Keys and pressed buttons contribute 1, and axes retain their magnitude outside the dead zone. Scale can invert a binding. The strongest positive and negative values add together, so alternatives in the same direction do not stack.
StaticgetReturns a connected standard-mapped pad, or the first one if no index is supplied.
Optionalindex: numberStaticgetReturns the left stick axes with a dead zone of 0.2 on each axis.
Optionalindex: numberStaticgetRead the current local value for an object manipulation. Rotation uses the x component.
Staticinitinitialises input event listeners.
StaticisWhether the action currently has a non-zero value.
StaticisChecks if a specific key is currently held down.
The key to check (e.g., 'w', 'ArrowUp', ' ').
StaticpanPan by a world-space delta during a paused drag and refresh the object under the pointer.
StaticremoveRemoves a global click listener.
The function to remove.
StaticsetReplaces the named bindings. Pass an empty object to clear them.
Handles mouse and keyboard input and pointer gestures in paused debug mode.