In my continuous mission of making more interactive stuff I'm having some difficulty understanding the way MouseMoveEvent works and I know this is what I'll need if I want to make things like buttons etc. I've been trying the usual methods other code uses but of course that isn't working.
Does anyone have know of any source code examples and such that show a basic button working for example? What I'm trying to do is to get the code to detect my mouse going over a sprite and then replacing it with another sprite when I click for example. I bet it's going to be one of those things where it just has a specific way of working to the other input commands and I've missed it completely.
Just so you know, I have looked at the documentation but of course it only explains the syntax and doesn't show it actually being used in a practical way which I think is why I'm having trouble understanding it.