removeDrawing

From RPTools Wiki
Revision as of 23:59, 17 March 2024 by Bubblobill (talk | contribs) (recategorised from metamacro to drawing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

removeDrawing() Function

Removes a drawing from the named map.

Usage

removeDrawing(mapRef, drawingId)

Parameters

  • mapRef - The Name or ID of the map to find the token. Defaults to the current map.
  • DrawingID - The ID of the drawing to be removed.

Both are required. The Drawing ID can be gotten from the Draw Explorer panel.


Drawing ID can be gotten from the Draw Explore panel.


Examples

Remove a drawing with ID 935F44FC95A54719A05E204A4459F917 from a map named Grasslands.

[h:removeDrawing("Grasslands", "935F44FC95A54719A05E204A4459F917")]}