Mouse Actions
Mouse actions detect pointer interactions against GameObjects in the scene.
Input Mouse Pick Event
Sends events for mouse over/down/up/exit interactions using camera raycasting against 3D or 2D colliders.
| Parameter | Description |
|---|---|
| Game Object | Target object to detect interactions on. |
| Camera | Camera used for raycasting. |
| Ray Distance | Max raycast distance. |
| Layer Mask | Layers included in raycast checks. |
| Mouse Enter | Event sent when mouse starts hovering target. |
| Mouse Down | Event sent when left mouse button is pressed while hovering target. |
| Mouse Up | Event sent when left mouse button is released while hovering target. |
| Mouse Exit | Event sent when mouse leaves target. |