MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / mouse_position

Method mouse_position

src/input.rs:139–141  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

137 }
138
139 pub fn mouse_position(&self) -> Vec2 {
140 self.mouse_position
141 }
142
143 pub fn is_gamepad_button_down(&self, player: usize, button: GamepadButton) -> bool {
144 self.gamepad_buttons.is_down((player, button))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected