Home / Quick Tips / Quick Tip: How to check when a sprite is clicked in SFML 2.0

Quick Tip: How to check when a sprite is clicked in SFML 2.0

I saw that this is a common problem this days . So, this is just a function that returns true when a sprite is clicked , even if the window is moved. You can integrate this function in any project you want.
Thanks and Enjoy!