Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - khasanovasad

Pages: [1]
1
General / Mouse Button Pressed and then Moved
« on: June 16, 2020, 01:53:14 pm »
Hi there.

I want my program to detect the following event: Mouse Button Pressed + Mouse Moved

I tried this way:
case sf::Event::MouseMoved:
    if (sf::Mouse::isButtonPressed) {
        DoStuff();
    }
    break;
 

But this does not seem to be the thing I want. Any help would be appreciated. Thanks in advance.

Pages: [1]
anything