CenterCursor

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
{{lua-function|centerCursor|}}
 +
 
Center the cursor in the middle of the window. Useful for FPS camera controls.
 
Center the cursor in the middle of the window. Useful for FPS camera controls.
  
Line 4: Line 6:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:System]]

Latest revision as of 16:54, 8 February 2014

centerCursor()

Center the cursor in the middle of the window. Useful for FPS camera controls.

You can download demo FPS game here

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox