Comment obtenir la position de la souris sur la fenêtre SFM;

sf::Vector2i position = sf::Mouse::getPosition(window);

// position will contain the x and y of your mouse

position.x >> 0
position.y >> 0
Aggressive Anaconda