overlay (roll option)
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
Overlays are a MapTool 1.7+ feature which places a transparent HTML5 overlay over the map view. Players can click through the overlay to affect the map as normal, but clickable effects on the overlay will work as intended. Using HTML5, CSS, and JavaScript, overlays enable graphical user interfaces akin to Diablo and WoW right in MapTool.
Overlays can be called much like frames and dialogs:
[overlay("MyOverlay"): { <h1 style='color:white;'>Hello, World!</h1> }]
Because overlays can't be closed like a frame or a dialog, users can instead toggle them off in the Window > Overlays
menu.