Coding a Finger Cursor

edited October 2017 in How To...

Hello, I need to code a cursor that looks like a finger. The finger can be broken down as three sides of a rectangle connected by a semicircle at the top. I would know how to draw this shape if it were staying still in the environment, but since it's a moving cursor, I'm not sure how to make it work. Any help would be appreciated!

Tagged:

Answers

  • edited October 2017 Answer ✓

    If you already know how to draw the shape, then:

    1. translate(mouseX, mouseY) before drawing it -- or
    2. Render it as an image and load it with the cursor() command.
  • Dude, thank you so much

Sign In or Register to comment.