FORMS_GetDrawPositionAbsolute

A function defined in FORMS_Canvas.gml

FORMS_GetDrawPositionAbsolute(_x, _y)

Description

Retrieves an absolute position of a point drawn into a canvas.

Arguments

Name Type Description
_x Real The x coordinate.
_y Real The y coordinate.

Returns

Array An array [x, y] with the absolute coordinates on the screen.

Note

This works only after BBMOD_Canvas.BeginFill and before BBMOD_Canvas.EndFill!


Copyright © 2024, BlueBurn. Built on September 03, 2024 using GMDoc.