getLayer

From RPTools Wiki
Jump to navigation Jump to search

getLayer() Function

Returns the map layer that the Current Token is on.

The map layer is one of:

  • TOKEN
  • BACKGROUND
  • GM
  • OBJECT

Usage

[h: layerName = getLayer()]