optozorax / egui-macroquad

egui bindings for macroquad
https://optozorax.github.io/egui-macroquad/
Apache License 2.0
91 stars 75 forks source link

Add method to know if mouse is over or clicked widget #44

Closed Nrosa01 closed 6 months ago

Nrosa01 commented 7 months ago

When working on a tool or a game, you usually want to avoid doing x action if you clicked a widget instead of the canvas. If for example I have a painting app and there is an egui windows on top, you don't want to draw on the canvas when you click or drag the egui windows, the egui windows should "block" that input or at least allow you to know that happened