N
N
Nikita Silchenko2020-09-21 13:23:17
C++ / C#
Nikita Silchenko, 2020-09-21 13:23:17

How to get mouse coordinates on click inside sprite in SFML?

I am writing a game. I need to catch coordinates on mouse click. BUT, I do not need to catch coordinates relative to the window, but rather relative to the sprite. Tell me, is this possible?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question