Area object

(info) Other great resources: Official JS API docs, Scripting Forum

Area object

Specifies the top-left and bottom-right co-ordinates of an area of the map.

 

Properties

Property

Type

Description

Game version

type

Constant

AREA

3.1 Alpha

x

Number

The x co-ordinate of the top-left corner of the area

3.1 Alpha

y

Number

The y co-ordinate of the top-left corner of the area

3.1 Alpha

x2

Number

The x co-ordinate of the bottom-right corner of the area

3.1 Alpha

y2

Number

The y co-ordinate of the bottom-right corner of the area

3.1 Alpha