Description

Retrieves points of the polygon. Returns an array of objects :

[
    {x: , y: },
    {x: , y: },
    {x: , y: }
    ...
]

Usage

Parameters

  • frame {Integer} optional

    (optional) Get a polygon frame precise (for animations). If nothing is specified, the current frame is the entity

Returns

Array

Discussion