generated from Leafwing-Studios/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
enhancementNew feature or requestNew feature or requestexampleSomething to do with an exampleSomething to do with an example
Description
What problem does this solve?
Something like https://github.com/StarArawn/bevy_ecs_tilemap/blob/main/examples/mouse_to_tile.rs
What solution would you like?
An example that demonstrates how the use case of tracking the cursor's position in the window should be handled.
[Optional] How could this be implemented?
Needs an example... There's mention of a certain mouse_position example here, but no such example exists:
| //! the `default_controls`. `mouse_position`, and `action_state_resource` examples. |
(EDIT: I see it was removed in #581)
Ideally it should also show things like mapping to world position and more, otherwise the story would be incomplete.
[Optional] What alternatives have you considered?
Use CursorMoved? But it still would be nice to have an example to show how it'd integrate with leafwing-input-manager.
Related work
No idea...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestexampleSomething to do with an exampleSomething to do with an example