How would I detect when the mouse is hovering over a sprite, is it possible?

I haven’t tried any code yet, because I’m actually still quite new to cocos2d-x. All I have on the project so far is basic sprites being loaded from my spritesheet, which besides rendering sprites with a png image is all I really know.
Edit: also im just experimenting

Take a look in cpp-tests.

Also. .containsPoint()

I’ve never used cpp-tests before, what is it?

It’s our example suite.

Look in your cocos2d directory for it and the docs tell you how to compile it.