Jump to content

MOUSE_USER mode


photo

Recommended Posts

hi, how toggle in runtime MOUSE_USER mode?

 

engine.controls.setMouseEnabled(1); //set camera moving with mouse always (in MOUSE_USER define need to click to moving camera)

Link to comment

Hi Sergey,

 

Unfortunately MOUSE_USER define is a system script define that is not visible to world script. You can add a menu item to system script options menu that will do #undef MOUSE_USER

Link to comment
×
×
  • Create New...