al404 Posted June 7, 2016 Share Posted June 7, 2016 I need to change the cursor when my particle is picked but i don't know how to do it Quote Link to comment Share on other sites More sharing options...
jerome Posted June 8, 2016 Share Posted June 8, 2016 you mean the pointer cursor ? if yes, this is a CSS property called ... "cursor" : https://developer.mozilla.org/en-US/docs/Web/CSS/cursor Quote Link to comment Share on other sites More sharing options...
al404 Posted June 8, 2016 Author Share Posted June 8, 2016 yes i mean the pointer cursor this seems to work if (particle.picked) { canvas.style.cursor = "pointer"; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.