Skip to content

Pointer Info

Pointer Info
Is Left Button Pressed
Is Right Button Pressed
Position On Canvas
Pressure
Twist
Tilt
Movement Direction
Velocity
Rotation

Category Inputs
Is Pair Node: No


Provides information about the current state of the pointer, including button presses, position, pressure, tilt, movement direction, and rotation.



Type: Boolean
Default: false

Is left mouse button currently pressed.

Type: Boolean
Default: false

Is right mouse button currently pressed.

Type: VecD
Default: (0, 0)

Current position of the pointer on the canvas.

Type: Double
Default: 1.0

Pressure applied by the pointer. The value is between 0 and 1, where 0 means no pressure and 1 means full pressure. Mouse always returns 1.

Type: Double
Default: 0.0

The clockwise rotation of a pen device around its own major axis (such as when the user spins the pen in their fingers).

Type: VecD
Default: (0, 0)

XTilt: The plane angle between the Y-Z plane and the plane that contains the Y axis and the axis of the input device (typically a pen/stylus). YTilt: The plane angle between the X-Z plane and the plane that contains the X axis and the axis of the input device (typically a pen/stylus).

Type: VecD
Default: (0, 0)

Direction of the pointer movement calculated as a vector from the previous pointer position to the current pointer position. The vector is normalized, so it only represents the direction of the movement and not its speed.

Type: Double
Default: unset
Min: 0

The speed of the pointer movement. It is calculated based on the distance between the previous pointer position and the current pointer position, as well as the time between the two positions. Values range from 0 - 5000 pixels per second.

Type: Double
Default: 0

The rotation of the stroke in radians. Use to rotate the brush in the direction of the stroke. It is not a raw pointer input.



All of our content is carefully written by hand, no AI was involved during the process.