Jump to content

Hide Mouse Cursor?


Recommended Posts


Is there a way to hide the mouse cursor built-in to phaser? If not, how can I do it in plain html5?


I put a 'cursor: none'  under canvas in my stylesheet, but I think the canvas that phaser makes takes precedence over it with: 


<canvas width="800" height="600" style="display: block; -webkit-user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: default;"></canvas>


as i can see with my debugging console.





PS Just starting out with html5 game development and I am really loving Phaser! 

Link to comment
Share on other sites

sorry, incoming noob question!

What do I put where from the phaser-dev folder to successfully use the changes you made?


I downloaded phaser-dev, then copied phaser.min.js from the build folder and put it in my project folder along with my main.js, index.html, and all the rest, but i seem to be having the same issue!

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...