vector2 GetCursorPos()/ETHInput

Returns the mouse cursor position.

Sample:

ETHInput@ input = GetInputHandle();

// add entity on cursor position
vector2 cursorPos = input.GetCursorPos();
vector2 worldSpaceCursorPos = cursorPos + GetCameraPos();

AddEntity("sparkle_effect.ent", vector3(worldSpaceCursorPos, 0.0f));