Hey
I tryed first to simulate a click on a button and i used:
if(sf::Mouse::IsButtonPressed(sf::Mouse::Left))
I don't know, probably it's a click but the programm don't reacte on the click sometimes and i have to click 5-10 times and press doesn't work everytime.
How can i solve this? I checked and the mouse(in the code) is on the button.
I hope you can help me =)