Patches

Mouse

Mouse

Capture mouse events and position.

Use Interaction instead if you want clicks on a specific layer.

Mouse

  • Down
  • Location

Down

A boolean that is true when there is a mouse down on the layer.

Location

The position of the mouse or touch, relative to the center of the viewer.