Crate bevy_cursor

source ·
Expand description

A bevy plugin to track information about the cursor.

  • The entity id of the window on which the cursor is currently;
  • The entity id of the camera on which the cursor is currently;
  • The position of the cursor on the window (logical position);
  • The 2D world position of the cursor (if the feature 2d is enabled);
  • The ray emitted by the cursor through the camera (if the feature 3d is enabled);

§Bevy compatible version

bevybevy_cursor
0.130.3
0.120.2
0.110.1

Modules§

Structs§