Avorion Script API Documentation

Mouse Mouse

Properties
position

Member Functions
mouseDown
mousePressed
mouseUp

Mouse

This object is only available on the client.

function Mouse()

This is the default constructor of Mouse. No further arguments are required.

Returns

A new instance of Mouse

property vec2 position

function bool mouseDown(int button)

function bool mousePressed(int button)

function bool mouseUp(int button)

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7