Jump to content

Horizonicblue
 Share

Recommended Posts

Hi,

Anyone know how to check if mouse in down or mouse clicked?

Also anyone know how to check mouse click release event?

 

I tried using this:

if(game.input.mousePointer.onDown)

but it doesn't work for me.

if(game.input.mousePointer.isDown)

This works but when I put it into update function,it runs several times for single click.

I want action to occur only once in one click.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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