Layers, Frames and Masks
In Advanced Mode Tokenizer 2 exposes a lot of power in for form of layers and masks.
You may be familiar with layers from tools such as photoshop or GIMP. They work in a similar way in Tokenizer.
In essence, a token is comprised of a stack of layers, drawn from the bottom up. Nothing is flattened until you save, and your layers are kept with the actor, so you can come back and change any of them later.
Exposing layers to you allows for a lot of power and control around how layer effects get applied or pop-outs get created.
Layers
The Layers tab lists the stack, with the front-most layer at the top.
- Click a layer to select it.
- Drag a layer to move it up or down.
- Double-click its name to rename it.
- The eye hides or shows it.
Mask layers, such as painted masks, masks from the Mask Browser and the Dynamic Ring Mask, are never drawn themselves, so they are listed apart, under Mask Layers. Each one says which layers it masks, or Not used.

Each layer's masks are listed under it, naming the layer each one comes from in that layer's colour. A frame or mask layer shows how many layers it masks. Click a mask to select its layer and show the mask under Masks, or the name of the layer it comes from to select that layer. Erase marks and lasso cuts are listed too, as the layer's own. Right-click a mask for more:
- Apply Mask to Layers Beneath - give the same mask to every layer under this one (not frames or rings).
- Auto Apply Mask to Layers Beneath - as above, and also to any layer you add or move under it later. A mask with it on shows an arrow. Taking the mask off one layer, or turning the option off, leaves the other layers as they are.
- Remove Mask from Layer - take it off this layer; the layer it comes from stays.
Right-click erase marks or lasso cuts to remove them.
Right-click a layer for more:
- Duplicate Layer, Delete Layer, Flip Horizontal and Flip Vertical.
- Copy Transform and Paste Transform - give one layer the same place, size and turn as another.
- Copy Grade and Paste Grade - give a picture or drawing the same colour grade as another (see Grade).
- Lock - stop it being moved by accident.
- Copy Layer to Avatar (or to Token) - copy it into the other mode, with its painted masks (masks from a frame or ring are left behind).
- Add as Mask Layer - treat it as a frame, whose shape can mask other layers.
- Apply Mask to... - on a frame or mask layer, tick the layers it masks, or All.
- Edit in Ring Generator - on a frame you made in the Ring Generator, reopen its design there; the new frame replaces this layer.
- Save Mask - on a painted mask, keep it for use on other tokens.
- Flatten Drawing / Flatten Text - turn a drawing's strokes or a text into a picture, keeping its place and settings.
- Merge Down - join the layer to the one under it as one picture, with everything that shows on them (effects, masks, erased parts and opacity) kept in it, when both use the Normal blend mode. Frames, mask layers, locked layers and animated layers cannot be merged.
- Flatten Visible - join every visible layer into one picture; hidden layers and mask layers stay as they are. Undo puts the layers back.
Layer types
Add layers with + Add Layer:
| Layer | What it is |
|---|---|
| Frames and rings | A frame image from the Frame Browser, or one you design in the Ring Generator |
| Shape ring | A circle, square or hex border with its own colour, texture, glow and soft inner edge |
| Image | Any image from your files |
| Texture | A Poly Haven texture (Add Texture Layer...), see Texture layers |
| Avatar / Token image | The actor's portrait or current token image |
| Text | Words with a font, size, weight, fill colour, outline and shadow |
| Drawing | Strokes from the Draw tool, added when you first paint |
| Colour | A solid colour, or a gradient: linear (in any direction) or radial (out from the middle), which can fade to see-through; Add Gradient Layer starts one |
| Mask image | An image from the Mask Browser (Browse Masks) that hides parts of other layers |
| Painted mask | A mask you paint yourself |
You can also paste an image with Ctrl+V.
Video files (.webm, .mp4 and .gif) can be added as layers too, and play in the editor.
Texture layers
+ Add Layer > Add Texture Layer... opens the Poly Haven texture window. Search by name, category or tag, and click a texture to see it in the shape of your token or portrait. Drag it to move it, scroll (or use Size) to make it bigger or smaller, and turn it with Rotation. The textures repeat, so it always fills the picture. Press Add Texture to add it above the selected layer, cut by the frame as the art beside it is.

Textures are downloaded at 2K, which is plenty for a token. Tick 4K texture for a sharper one when it is shown large, such as a big portrait; it downloads about four times as much. A texture is downloaded the first time you use it, then kept in your browser. The layer is an ordinary picture once added, saved where pasted images go.
Frames and rings
The Ring tab sets the border of your token: a frame, the Dynamic ring or none, and its size on the map.
Change... in the Ring tab, or + Add Layer and Browse Frames/Rings in the Layers tab, opens the Frame Browser:
- Favorites and Recent - frames you have starred or used lately.
- Tokenizer and the other built-in sets.
- Custom - add your own frames and masks, one at a time or a whole folder.
From the Ring tab, a frame you pick takes the place of the token's frame; from + Add Layer it goes on top as another layer. Either way it masks the layers beneath it, unless they already have a mask of your own.
The search box below the tabs finds frames by name, file name, folder or group.
Design a Ring opens the Ring Generator to make your own. Rest the mouse on a frame to see it larger.
A GM can share custom frames and masks, or a whole group of them, with every user in the world.
Players need to be able to read the folder the files are in.
If the Token Frames module is installed, its frames get their own tab (it does not need to be enabled).
Animated frames (.webm, .mp4 and .gif) play in the browser and in the editor.
Default frames
When you first open an actor, Tokenizer 2 adds a frame picked by the world's frame rules. To start with there are three rules, one per disposition: friendly tokens get one frame, neutral and hostile tokens another. A GM can change their frames, remove them, or add rules of their own (a frame per creature type, say) with Edit Frame Rules... in the settings' Token Rings tab. An actor no rule matches gets the Otherwise frame, or no frame when that is left empty. The same rules pick the frame in Auto Token, which explains how to write them.
Foundry's Dynamic Ring
Enable Dynamic Ring uses Foundry's own token ring instead of drawing a frame into the image. The editor shows a preview of the ring, which is not saved into the image. The portrait is clipped to the inside of the ring with a mask, Dynamic Ring Mask (under Mask Layers), which you can paint on to change. Picture, colour and gradient layers you add while the ring is on are clipped to it too, as are a background colour or picture turned on in the Quick layout. Dynamic Ring Colors sets the ring and background colours.
Oversized tokens
Enable Oversized (2x) makes the token twice the size, so parts of it can spill out over the squares around it. Use it for big creatures, or with pop-out tokens.
Enable Oversized (1.3x) makes the token 1.3 times the size of its square instead. The frame or Dynamic Ring keeps its usual size, leaving a little room past it for the art.
With the Dynamic Ring on, a third button, Enable Ring Fill (1.3x), makes the whole token, ring and art, 1.3 times larger, so Foundry's ring fills the square rather than sitting inside it. Foundry's Grid fit mode (Dynamic Token Rings Fit Modes in Core settings) does the same for every token without scaling them.
Click the other button to switch sizes, or the lit one to turn oversized off.
Masks
A mask decides which parts of a layer show. A layer can have several masks at once.
Select a layer to see its masks under Masks, below the layer list. Click + to add one, click a mask to change its type and what it comes from, or x to remove it. For a frame or mask layer, Masks also says which layers it masks, and Apply Mask to... changes them.
| Mask | What it does |
|---|---|
| Mask Layer | Uses one of the token's mask layers: the layer shows where the mask is painted, or white. Paint your own with Paint Mask, or make one from a Magic Lasso selection |
| Ring Mask | The Dynamic Ring's mask, which clips the layer to the inside of the ring |
| Ring Shape | Clips the layer to the inside of a shape ring (+ Add Layer, Add Shape Ring) |
| Custom Image | Uses an image file you pick, or your world's default mask: the layer shows where the image is opaque, or white if it has no transparency. Chosen in place of a frame's mask, it moves and sizes with that frame (or the Dynamic Ring) and goes when the frame is deleted |
| Frame Window | Clips the layer to the inside of a frame |
| Frame Outline | Clips the layer to the outside edge of a frame |
If a Frame Window mask does not quite follow a frame, open Tracing under the mask and change Ray Edge Detection or Ray Sample Size for that mask. Tracing opens by itself when the mask's settings differ from the world's. A higher sample size gives a coarser but smoother outline; 1 follows the frame most closely.
Animated tokens
Give any layer an animation in the Animate panel, such as rotate, breathe or hue cycle. A play button appears in the toolbar so you can preview it.
A token with anything animated in it saves as a looping .webm video.
So does a token with an animated ring from the Ring Generator.
- Dynamic Ring tokens cannot be animated: turning the Dynamic Ring on offers to remove the animations and video layers, so use a frame for an animated token.
- Tokens in a set of variants, wildcards included, always save as still images.
- Animated tokens save fastest when Foundry is opened over HTTPS or on localhost; over plain HTTP saving takes longer.
- An animated frame longer than the Max duration setting (a slow ring from the Ring Generator, say) saves at its full length.
Token variants
An actor can keep several token images in a set, picked at random as a wildcard or switched by hand; see Token Variants.