in_bounds

function

in_bounds(_x, _y)

Description

Checks whether the coordinate is within the terrain's bounds.

Arguments

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

Returns

Bool Returns true if the coordinate is within the terrain's bounds.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.