Jump to content

BUG? "unresolved variable" in Webstorm IDE ES6


Recommended Posts



this.balls.body.velocity.setTo(0, 0);

velocity = "unresolved variable" 

but  when I compile project I have no errors and this function works normal. 
For other function Webstorm don't display any errors. 

I think that problem is that


change type of body in Phaser.Sprite (phaser)  and it is very complex for IDE.

Can I set physics 

this.balls.body.velocity.setTo(0, 0);

in more simple way that IDE can understand it?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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