Im trying to create an app that when you press on a button, the cursor changes. For example, lets say I press a button to draw, the cursor changes into a pencil. Any ideas? I’ve tried using ofHideCursor() and then replacing that with an image but i’m not sure how to go about it.
you may try to :
- declare an
ofImage
in your header file - load your cursor image in the
setup()
method - center your image around your mouse position & draw your image in the
draw()
method
1 Like