SFML community forums
Help => Window => Topic started by: GSG3D on March 10, 2012, 08:21:27 am
-
As I do so when the mouse pointer when in a specified coordinate (x, y) or when the pointer touches a sprite,run a action?
-
Assuming SFML 2, the functions sf::Mouse::GetPosition() and sf::Sprite::GetGlobalBounds() might help you, take a look at their documentation.