Goodluck / API Reference

system_control_mouse_drag

Handle mouse input when dragging with one of the buttons pressed. Good for cameras overlooking the scene.

When the mouse is dragged with the left mouse button pressed, the entity pans. When it is dragged with the right mouse button pressed, the entity rotates.