Function ambient_api_core::core::app::components::cursor_position
source · pub fn cursor_position() -> Component<Vec2>
Expand description
Cursor position: Absolute mouse cursor position in screen-space. This is the logical position. Multiply by the window_scale_factor
to get the physical position.
Attributes: MaybeResource, Debuggable, Networked