Hello,
using TextureRect over Sprite2D is that bad ? i do it because Sprite2D dont have any signal about mouse event.
in order to detect mouse click over a Sprite2D we have to:
1- add an area2d
2- add a 2d shape
3- resize the shape
4- connect area2d signal
in order to detect mouse click over a TextureRect we have to:
1- connect gui_input signal
is there an easy way to detect mouse event on a sprite2D that i dont know ?
Using TextureRect instead Sprite2D will probably impact my game later ?
What the reason of this Sprite2D node since we have TextureRect node too?
They seem to be the same for me, except Sprite2D cant interact with mouse and TextureRect is designed for UI
so should i use TextureRect when i want a "sprite" that can interact with mouse easily, and use Sprite2D for the rest that dont need to react to mouse ?