StickerLab 2D
v1.0.0 Download docs ↓
Getting started

StickerLab 2D documentation

Set up interactive 2D stickers in Unity. This guide covers installation, Profiles, peeling, placement, visual effects and runtime integration.

QUICK START Create your first Sticker Right-click in the Hierarchy, create a Sticker, assign a Profile and press Play.

Explore the system

The main StickerLab 2D features at a glance. Each area links directly to the guide that explains how to set it up and use it.

Details that make a difference

StickerLab is designed to feel complete out of the box while still giving you room to build your own experience around it.

Feels physical

Directional peeling, reverse-side visuals, snap-back, placement animation and fold shading make every interaction feel tactile rather than like a simple drag-and-drop object.

Make every Sticker different

Mix clean, worn, scratched, holographic and animated artwork without needing a separate system for every style.

Built for runtime use

Spawn Stickers from menus, inventories or your own gameplay and place them directly into the player's hands.

Easy to connect to gameplay

Use Unity Events, Interaction Tags and public scripting controls to trigger sounds, puzzles, collectibles, status effects and more.

Reusable without feeling generic

Profiles keep shared behaviour consistent while individual Stickers retain their own artwork, animation, masks and visual adjustments.

Ready for polished UI

Bake transparent Sticker thumbnails and use the same finished look in drawers, inventories, palettes and selection screens.

Works with moving worlds

Place Stickers on configured surfaces, moving objects and category-restricted targets while keeping placement behaviour predictable.

Designed to stay responsive

Common interactions such as spawning, peeling, animation and placement are built to remain smooth even when optional visual features are combined.

StickerLab overview
Example runtime scene with multiple StickerLab profiles and effects.
Profiles and artwork: StickerProfile owns reusable behaviour. The Sticker owns artwork-specific content and overrides such as its main Sprite, animation frames, holographic mask and Sticker Back Scale.

Basic workflow

The Sticker component is your main entry point. Assign artwork and a Profile; StickerLab builds the required modules and keeps them in sync.

01 Add your artwork

Use a transparent sprite.

02 Choose a Profile

Reuse your behaviour settings.

03 Sync and play

Peel, hold and place.

Adding your screenshots and GIFs

Every screenshot and GIF block already contains a real img element pointing to its expected file inside the media folder. Replace the referenced PNG or GIF with your own capture and reload the page. The media frame keeps its intended aspect ratio and the explanation remains underneath.

Getting started

Installation

Import StickerLab 2D into your Unity project and confirm the package is ready before creating your first Sticker.

Import the package

Keep the StickerLab2D folder and its internal structure together. The complete folder may be nested inside another parent folder under Assets ; StickerLab resolves its Editor paths automatically.

Welcome window

After import, StickerLab opens a small welcome window with a direct link to this documentation. Show this window on start-up is enabled by default and can be disabled from the window. Reopen it at any time from Tools → StickerLab 2D → Welcome .

Use Unity's New Input System

The default mouse interaction path reads from UnityEngine.InputSystem.Mouse . Make sure the Input System package is available in the project.

Open the included demo

Run the example scene before changing anything. It is the fastest way to confirm the package imported correctly.

Open this page from the Sticker inspector

The Documentation ↗ link on the Sticker component opens this local Documentation/index.html file in your browser.

Offline documentation: this documentation has no external CSS, fonts or JavaScript dependencies. It can ship inside the Asset Store package and open locally.
Getting started

Quick start

The quickest way to make a Sticker is from the Hierarchy. Create it, assign the artwork and Profile, then press Play.

Recommended workflow: right-click in the Hierarchy and choose StickerLab 2D → Create Sticker . This creates the public Sticker object and the required SpriteRenderer for you.
Sticker setup
After creating the Sticker, assign its Sprite and Sticker Profile in Quick Setup.

Create a Sticker

Right-click in the Hierarchy and choose StickerLab 2D → Create Sticker . StickerLab creates a new Sticker GameObject and selects it automatically.

Assign your artwork

In Quick Setup, assign the transparent Sprite you want to use as the Sticker artwork.

Assign a Sticker Profile

Choose one of the included Sticker Profiles or create your own. The Profile controls the shared peel, placement and visual behaviour.

Check any Sticker-specific settings

If the Profile uses features that need artwork-specific data, set them here. Examples include Holographic Mask, animation frames and manual backside adjustments when Auto Match is disabled.

Press Play

That is enough for the normal workflow. Enter Play Mode, hover the Sticker and peel from an edge. Once fully peeled, it enters the Held state and can be placed again.

Other creation methods: StickerLab also supports creating Stickers from the Tools menu, from a selected Sprite, or from a selected Profile. Those are useful shortcuts, but the Hierarchy workflow above is the clearest starting point for new users.
Authoring

Profiles and inspector

Profiles store reusable behaviour settings. The Sticker Inspector assigns a Profile to each sticker and manages artwork-specific settings such as its Sprite, holographic mask, backside scale, animation content and setup status.

Create or modify a Profile

A Profile is the reusable behaviour preset behind a Sticker. Use Profiles for settings you want several Stickers to share, then keep artwork-specific values on the Sticker itself.

Create a Sticker Profile asset

In the Project window choose Assets → Create → StickerLab 2D → Sticker Profile. Give it a name that describes the behaviour or finish you want, such as Paper, Glossy Vinyl or Holographic.

Choose the enabled features

Use the Profile feature switches to enable only the systems you need, such as Peeling, Hover, Held Feedback, Scratching, Wear, Fold Shading, Peel Residue, Holographic or Sprite Animation.

Tune the feature settings

Open the relevant Profile section and adjust the controls that define how that feature should feel. The Authoring pages in this guide call out the most useful controls for each system.

Assign the Profile to a Sticker

Select a Sticker, assign the Profile in Quick Setup, then sync or rebuild when the Inspector reports Needs Sync.

Duplicate before making a one-off variation

Profiles are shared assets. If only one group of Stickers needs different behaviour, duplicate the Profile first instead of changing a Profile used throughout the project.

Profile or Sticker? Put reusable behaviour in the Profile. Keep unique artwork data such as the main Sprite, animation frames, Holographic Mask and Sticker Back Scale on the individual Sticker.
Performance tip: enabling an optional feature adds its module and runtime work. A Profile containing every feature is valid, but it should not be the default for every Sticker if the project only needs some of those effects. Build Profiles around the features that Sticker actually uses.
P
Peel / interaction Peel thresholds, edge behaviour, snap-back, held movement, rotation, scale mode, placement and audio.
S
Scratch Enables scratch interaction and defines brush size, hardness, spacing, strength and reveal colour.
W
Persistent wear Controls accumulated scuffs and edge damage from repeated use.
F
Fold shading Adds shadow/highlight bands around the active crease for extra depth.
R
Peel residue Leaves an adhesive/silhouette trace on the source surface while the Sticker lifts away.
H
Holographic / foil Rainbow foil, shimmer and optional sparkles are shared through the Profile, while the effect mask texture can be assigned independently on each Sticker.
A
Sprite animation Enables animated Sticker behaviour and state rules. The actual frame artwork remains per Sticker.
Profile configuration
Profiles define shared behaviour. Feature checkboxes decide which runtime modules StickerLab generates.

Finish type versus enabled features

Finish labels describe the material, such as Paper, Matte Vinyl, Glossy Vinyl, Holographic, Metallic, Transparent, Foil or Custom. The feature checkboxes determine which modules the Sticker uses.

Recommended setup: create a small library of Profiles such as Paper, Glossy Vinyl and Holographic, then reuse them across your actual sticker artwork.

Sticker inspector

The Sticker component is a facade over the internal runtime modules. Most users should not need to edit those generated components directly.

Area Purpose
Setup The Sticker is missing required authored data such as a Sprite or Profile.
Needs Sync The object exists but its generated modules no longer match the selected Profile.
Ready The Sticker is configured and generated modules match the current Profile.

Quick Setup

Contains the common Sticker settings: Sprite, Sticker Profile, Category and context-sensitive controls. Category is the Sticker's placement category and is used by Sticker Surfaces to decide whether the Sticker may be placed there. Holographic Profiles also expose the shared Holographic Blend mode alongside the per-Sticker Holographic Mask, while Sticker Back Scale appears when backside fitting is relevant.

Animation Frames

Appears for animated Profiles. Frames belong to this Sticker, not the shared Profile. The main Sprite is automatically used as frame 0 when appropriate.

Profile Overview

A quick read-only summary of the finish and enabled features so you can understand the Sticker without opening the Profile asset.

Advanced

Shows generated module status, validation information and internal components for debugging or package development.

Holographic Blend in Quick Setup

When the assigned Profile uses Holographic / Foil, Quick Setup shows a Holographic Blend dropdown. This edits the selected Sticker Profile , not only the current Sticker, so every Sticker using that Profile will share the same blend behaviour. After changing it, confirm the Profile changes so the generated holographic module is synced.

Shared versus unique: Holographic Blend is shared by the Profile. Holographic Mask remains unique to each Sticker.

Per-Sticker artwork settings

Some values intentionally live on the individual Sticker instead of the shared Profile. These settings describe the artwork itself, so two Stickers can reuse the same behaviour Profile without being forced to share the same mask, reverse-side fit or animation content.

Sticker setting Purpose
Sprite The unique front artwork used by this Sticker.
Holographic Mask Assigned independently for each holographic Sticker. The mask texture overrides the legacy Profile mask while the Profile continues to control shared foil behaviour such as strength, threshold, channel selection, alignment, shimmer and sparkles.
Sticker Back Scale X / Y Fine-tunes the generated or custom backside for this artwork. X and Y are independent values so unusually wide, tall or tightly trimmed stickers can align correctly during peeling without changing the shared Profile.
Animation content Frames, Frames Per Second and Playback Mode belong to the individual Sticker so different animations can reuse one animated Profile.
Sync after changing per-Sticker settings: Profile Sync copies the shared Profile behaviour and then applies the Sticker's artwork-specific values to the generated modules.
Inspector status
The inspector header shows whether the Sticker is configured and synced.
Do not hand-edit generated modules as your normal workflow. If you want reusable behaviour to change, edit the Sticker Profile and resync. Use Advanced mainly for debugging.

Bake Sticker Thumbnail

Use Bake Sticker Thumbnail in the Sticker Inspector to create a transparent preview Sprite that already contains the Sticker's visual finish. This is useful for sticker drawers, inventory slots, palette buttons and other UI where the user should see the finished Sticker before spawning it.

Finish and sync the Sticker

Assign the Sprite, Profile and any per-Sticker artwork settings such as its holographic mask and Sticker Back Scale, then make sure the Sticker reports Profile Synced .

Click Bake Sticker Thumbnail

StickerLab briefly enters Play Mode so runtime-only materials and effects are captured from the real rendered result. Holographic foil, shimmer and sparkles therefore appear much closer to their actual in-game appearance.

Use the generated Sprite in your UI

The transparent PNG is imported as a Sprite under StickerLab2D/Sprites/Thumbnails inside the installed StickerLab folder. Assign it to a Unity UI Image, Button, sticker drawer entry or your own inventory interface.

No manual screenshot cleanup required: the baker preserves transparency and captures the runtime finish, removing the need to screenshot a Sticker, cut it out in another application and reimport it by hand.
Play Mode is expected: thumbnail baking may briefly enter and exit Play Mode while it waits for the real runtime render to reach the end of frame. Do not interrupt that capture unless you want to cancel the bake.
Authoring

Animated stickers

Animation is split into shared behaviour and unique artwork so an Animated Profile can be reused across many completely different stickers.

Set up an animated Sticker

Enable Sprite Animation on the Profile

Open the Sticker Profile and enable Sprite Animation. This adds the animation module and exposes the shared animation behaviour controls.

Assign the animated Profile to the Sticker

Select the Sticker, assign the Profile in Quick Setup and sync it. The main Sticker Sprite is used as frame 0 where appropriate.

Add the artwork frames

Open Animation Frames in the Sticker Inspector and add the Sprites in playback order. Keep frame dimensions, pivot and Pixels Per Unit consistent so the Sticker does not shift while animating.

Set FPS and Playback Mode

Frames Per Second and Playback Mode belong to the individual Sticker. Use Loop for continuous playback, Once for a one-shot animation, PingPong for forward and reverse playback, or Random for non-sequential frames.

Choose which interaction states keep animating

Back on the Profile, decide whether animation continues while Attached, Scratching, Peeling, Held, Placing and Placed.

Important animation controls

ControlWhat to change it for
Frames Per SecondSet the base speed for this Sticker's artwork. This is stored per Sticker after the animated Profile supplies its initial default.
Playback ModeChoose Loop, Once, PingPong or Random for the individual Sticker.
Speed MultiplierGlobally speed up or slow down the Profile's animation behaviour without replacing the Sticker's FPS value.
Play On StartDisable this when you want your own script or event to start playback later.
Random Start FrameUseful when several copies of the same animated Sticker are visible and you do not want them moving in perfect sync.
Animate While Peeling / Held / PlacingChoose whether the artwork keeps moving during each Sticker interaction state.
Restart On Sticker State ChangeEnable when every new interaction state should restart the animation from frame 0.
Preload Frame ReceiversFor normal runtime spawning, leave this disabled unless you deliberately want compatible one-time preparation to happen during spawn.
Animation performance: the most important number is effective FPS, which is Frames Per Second multiplied by Speed Multiplier. Around 1 to 12 effective FPS is light, 13 to 30 is worth watching in feature-heavy Stickers, and values above 30 can cause much more frequent receiver updates. Preload Frame Receivers changes when preparation occurs rather than making it free.
Profile

Shared animation behaviour

The Profile enables Sprite Animation and stores reusable state behaviour such as whether animation continues while attached, peeling, held or placing.

Sticker

Unique animation content

The Sticker stores its own Frames, Frames Per Second and Playback Mode. Assigning an animated Profile automatically seeds the main Sprite as frame 0 where appropriate.

Playback modes

Loop Once PingPong Random
Frame synchronization: the front artwork, backside, contour, holographic overlay, wear and residue are synchronized to the currently displayed animation frame.
Preload Frame Receivers: this option lets compatible secondary systems prepare animation-frame data before playback. For Stickers that are spawned during gameplay, leave it disabled unless you intentionally want to move that one-time preparation cost to spawn. StickerLab's optimized persistent wear path does not require a separate wear texture or alpha mask for every animation frame.
Animation playback
Animated sticker

Animation follows the playback mode and state rules configured on the Sticker and Profile.

Animation during peeling
Frame synchronization

The reverse side and secondary effects follow the current artwork frame.

Authoring

Peeling and placement

Configure how stickers peel, move and attach to surfaces. The standard interaction moves through Attached or Placed, Peeling, Held and Placing states.

Set up peeling and placement

Enable Peeling on the Profile

Enable Peeling. Turn on Hover and Held Feedback as well if you want the built-in interaction cues and placement outline.

Tune how a peel starts

Use Require Edge Grab, Edge Grab Percent and Peel Drag Threshold to decide how forgiving the initial peel gesture should be.

Tune how a peel completes

Adjust Peel Completion Threshold, Snap Back Duration, Peel Finish Duration and Tail Acceleration until the Sticker releases with the weight and speed you want.

Configure the reverse side

Leave Backside Sprite empty for the automatic white reverse silhouette, or assign custom artwork. Use the Sticker's Back Scale X and Y for artwork-specific fitting.

Configure Held movement and placement

Set rotation, scaling and placement behaviour on the Profile. If placement should be restricted, create Sticker Surfaces and configure placement categories instead of allowing unrestricted placement.

Profile controls that change the feel most

ControlEffect
Require Edge GrabForces the player to start close to the Sticker edge instead of peeling from anywhere.
Edge Grab PercentWidens or narrows the valid edge region when Require Edge Grab is enabled.
Allow Angled PeelLets the crease follow diagonal drag direction for a more physical peel.
Peel Completion ThresholdControls how far the Sticker must be peeled before release completes the peel instead of snapping back.
Accelerate Peel TailAdds a faster final release. Tail Acceleration Start and Power control when and how strongly it kicks in.
Snap Back DurationControls how quickly an incomplete peel returns flat.
Peel Finish DurationControls how quickly StickerLab finishes the last part of a successful peel.
Held Minimum / Maximum ScaleSets the scale limits available while the player uses Held Scale Mode.
Mouse Wheel Rotation StepChanges the rotation increment while the Sticker is Held.
Placement DurationControls how long the flattening placement animation takes.
Parent To SurfaceKeep this enabled when placed Stickers should move with the Sticker Surface or its Placement Root.
Outline performance: keep Simplify Visual Outline enabled for normal use. Minimum Point Spacing around 2 to 6 px and Corner Vertices around 0 to 2 are the lighter range. Very low spacing, high corner counts or disabling simplification keeps more contour geometry and is worth profiling on detailed animated Sprites.

Directional peel

Pointer movement defines the peel distance and direction. Angled peeling can be enabled for a more physical diagonal crease.

Automatic backside

If no backside artwork is supplied, StickerLab generates a clean white silhouette from the authored front Sprite. Use the per-Sticker Back Scale X and Y controls when that reverse silhouette needs artwork-specific fitting.

Held feedback

Optional marching-ants contour, placement validity colours, cursor following, rotation and scale mode clearly communicate that a Sticker is in hand.

Placement surfaces

A held Sticker can be placed freely or restricted to configured StickerSurface2D targets, depending on Profile settings.

Sticker Back Scale

The backside often needs a small artwork-specific adjustment because transparent padding, silhouette proportions and sprite trimming can differ between Sticker images. Sticker Back Scale X and Sticker Back Scale Y are stored on the individual Sticker and override the shared backside scale from the Profile.

Alignment workflow: start with X and Y close to 1, partially peel the Sticker, then reduce or adjust each axis until the reverse side sits cleanly behind the front artwork. Use X and Y independently when the artwork is wider or taller than the Profile's usual shape.
Use Back Scale for reverse-side fitting, not general Sticker sizing. Scale the complete Sticker Transform for its overall world size. Back Scale only corrects the backside visual used during peeling.
Partial peel and snap-back
Partial peel and snap-back

Release a partial peel to let the sticker return to its surface.

Lift, adjust and place
Lift and place

Fully peel a sticker, adjust its rotation and scale, then place it again.

Default mouse controls

Most interaction settings are Profile controlled, so these describe the standard workflow rather than hard-coded rules.

Gesture Default result
Hover Shows hover feedback when enabled.
Left click + drag from / toward an edge Peels the Sticker.
Hold, then drag Scratches when Scratch and hold-to-scratch are enabled.
Double click Optional automatic lift when Quick Pickup is enabled.
Mouse wheel while held Rotates the Sticker when wheel rotation is enabled.
Right click while held Toggles Scale Mode; while active, the wheel scales instead of rotating.
Left click while held Places the Sticker if the current target is valid.
Overlapping Stickers: StickerLab uses exclusive interaction ownership and topmost sorting resolution so one pointer press does not peel or scratch several overlapping Stickers at once.

StickerSurface2D

Sticker Surfaces define where held Stickers are allowed to land and which categories they accept.

Setting Purpose
Accept Stickers Enables or disables placement onto the surface at runtime.
Accepted Categories Filters by StickerCategory such as General, Decoration, Warning, Graffiti and Quest.
Maximum Stickers Limits how many Stickers can be registered. 0 means unlimited.
Placement Root Optional child Transform used as the parent for newly placed Stickers.
Placement surface setup
StickerLab works with normal Unity 2D scene objects; surfaces can be static or part of moving hierarchies.
Managed setup: StickerLab can use its dedicated StickerSurface layer for placement queries. The Surface inspector also includes setup validation / repair helpers.
Authoring

Finishes and damage

Scratch, wear and residue are optional Profile features. Damage belongs to each Sticker instance and persists through peeling and placement. Persistent wear also stays aligned with animated artwork without rebuilding a separate wear texture for every frame.

Scratch

Direct damage

Hold and drag to scratch when enabled. Each spawned Sticker owns its own scratch state; scratching one does not affect another instance.

Wear

Accumulated ageing

Wear can build over repeated peels with configurable strength, edge bias, stamp count and maximum amount.

Residue

Surface history

Optional residue remains on the surface during removal and follows the original surface if that surface moves.

Performance: scratch runtime textures are created lazily when a Sticker is actually scratched. Persistent wear uses one runtime wear texture per Sticker, avoids source-Sprite pixel readbacks during spawn, and uses shader-driven silhouette clipping so animated frames do not need their own generated wear textures.
Animated wear: wear stays fixed in Sticker space while the currently displayed Sprite supplies the visible silhouette. This prevents wear from leaking outside changing animation frames without rebuilding masks during placement or peeling.
Independent scratch damage
Instance-owned scratching

Scratch damage remains independent for each sticker instance.

Wear and residue
Wear over time

Repeated peeling can accumulate wear and leave residue on the source surface.

Set up scratching

Enable Scratching on the Profile

Enable Scratching. When the same Sticker can also peel, the gesture settings in the Profile decide whether a press becomes a scratch or a peel.

Tune the brush

Use Brush Radius, Hardness, Spacing and Strength to control the size, edge softness, stroke smoothness and removal strength.

Tune the gesture

Use Hold To Scratch, Scratch Hold Delay, Edge Press Always Peels and Scratch Requires Interior Press to make scratch and peel gestures easy to distinguish.

Scratch controlWhat it changes
Brush RadiusSize of the scratched area.
Brush HardnessHigher values make a sharper brush edge. Lower values create a softer falloff.
Brush SpacingLower values create smoother continuous strokes but perform more stamp updates.
Scratch StrengthAmount removed by each brush stamp.
Scratch Base ColorColour of the scratchable layer before it is removed.

Set up persistent wear

Enable Wear on the Profile when repeated peeling should visibly age the Sticker. Wear accumulates on each Sticker instance and stays aligned with animated artwork.

Wear controlWhat it changes
Wear Starts After PeelsNumber of completed damaging peels before visible wear begins.
Wear Per PeelHow much normalized wear is added by each qualifying peel.
Maximum WearCaps how worn a Sticker is allowed to become.
Stamps Per PeelHow many individual scuffs or scratches are generated during each wear pass.
Minimum / Maximum Stamp RadiusControls the physical size range of wear marks.
Prefer Edge Wear / Edge Wear BiasPushes more damage toward the Sticker silhouette, producing more natural edge ageing.
Wear Color / Overlay OpacityControls the visual tint and overall strength of the accumulated damage.

Set up peel residue

Enable Peel Residue when removing a Sticker should leave a temporary adhesive or silhouette trace on the surface underneath.

Residue controlWhat it changes
Residue ColorTint and opacity of the adhesive trace.
Show While PeelingShows residue underneath the Sticker during an active peel.
Keep While HeldKeeps the trace visible after the Sticker has fully lifted away.
Show While PlacingKeeps residue visible while the Sticker flattens back down.
Fade Out When Done / Fade DurationControls whether and how quickly residue disappears when it is no longer needed.
Damage performance: Scratch becomes heavier with a large Brush Radius and very small Brush Spacing. Wear becomes heavier with many Stamps Per Peel and large stamp radii. The combination of large source artwork, many wear stamps and frequent scratching is more important than visual-only controls such as colour or opacity.

Holographic foil and sparkles

Set up a holographic Sticker

Enable Holographic on the Profile

Turn on Holographic, then choose a foil colour preset or create a Custom Gradient.

Choose the blend and strength

Use Holographic Blend, Foil Intensity, Opacity, Saturation and Brightness to decide how strongly the finish mixes with the original artwork.

Assign the per-Sticker Holographic Mask

Select the Sticker and assign its mask in Quick Setup. White receives the strongest effect, grey gives a partial effect and black suppresses the effect.

Tune shimmer and sparkles

Use Shimmer Strength, Scale, Speed and Angle for the moving foil highlight. Enable Sparkles only when you want procedural glints on top.

Holographic controlWhat it changes
Foil Colour PresetChooses the colour ramp used across the Sticker.
Gradient Scale / Speed / AngleControls the number, movement and direction of foil colour bands.
Holographic BlendChanges how the foil combines with the original artwork. Try Overlay or Soft Light first for a natural result.
Foil Intensity / OpacityControls the strength and transparency of the finish.
Mask Strength / ThresholdAdjusts how strongly the per-Sticker mask restricts the effect.
Sparkle Strength / Density / AmountControls how bright, distributed and numerous the optional glints appear.
Holographic performance: Sparkle Amount is more performance-sensitive than Sparkle Density in the current shader. Amount above roughly 0.75 means more pixels continue through the sparkle calculation. A Sparkle Strength or Amount of 0 disables the sparkle branch. Gradient Texture Resolution mainly affects rebuild/startup work rather than normal frame cost.

The holographic module overlays animated foil without replacing the authored Sticker artwork. The Profile stores reusable foil behaviour, while each Sticker can supply its own mask texture so different artwork can share the same holographic Profile.

Per-Sticker holographic mask

Assign the Holographic Mask on the Sticker Inspector. The mask belongs to that Sticker and overrides the legacy mask stored on the shared Profile. This lets one Rose Gold, Rainbow or Sparkle Profile be reused across many completely different sticker shapes without forcing them to share one mask image.

What stays shared: the Profile still controls the reusable holographic behaviour such as colour preset, gradient, blend mode , intensity, opacity, saturation, brightness, mask strength, threshold, channel selection, mask alignment, shimmer, sparkles and state behaviour.

Mask values

Mask colour Meaning
White Full holographic effect.
Grey Partial / softer holographic effect.
Black No holographic effect.

Holographic Blend modes

The Holographic Blend setting controls how the animated foil colour is combined with the Sticker's original artwork. It is a Profile setting and is also exposed in the Sticker Inspector's Quick Setup when the selected Profile uses holographic foil.

Blend mode Result
Normal Applies the holographic colour normally. Use this for the original StickerLab foil appearance.
Multiply Darkens the result by combining the foil with the underlying artwork.
Screen Lightens the artwork and is useful for brighter reflective foil.
Overlay Combines Multiply and Screen behaviour according to the underlying artwork, preserving shadows while strengthening highlights and contrast.
Soft Light A gentler contrast blend for a more subtle foil finish.
Hard Light A stronger contrast blend for a more pronounced foil effect.
Darken Keeps the darker value from the artwork or foil.
Lighten Keeps the lighter value from the artwork or foil.
Color Dodge Produces strong bright highlights and a more intense reflective look.
Color Burn Deepens colours and shadows for a darker, richer foil treatment.
Linear Dodge (Add) Adds the foil colour to the artwork for a bright additive result.
Linear Burn Produces a stronger subtractive darkening effect.
Difference Creates a high-contrast colour difference between the artwork and foil.
Exclusion A softer, lower-contrast alternative to Difference.
Good starting points: Overlay keeps more of the original Sticker shading while making the foil feel integrated. Soft Light is useful for a restrained finish, while Screen and Linear Dodge (Add) produce brighter reflective results.
Foil colour presets Blend mode Intensity Opacity Saturation Brightness Shimmer Sparkles Mask threshold
Interaction behaviour: the effect can be configured by Sticker state. When holographic foil is visible during peeling or placement, StickerLab clips the overlay to the current front-facing peel geometry so the effect remains attached to the visible Sticker surface instead of spilling across the lifted area.
Holographic mask
The artwork and its black, grey and white effect mask.
Foil and sparkles
Foil and sparkles as the sticker moves through different states.
Authoring

Placement Categories

Categories control where a Sticker is allowed to be placed. They work together with Sticker Surface placement rules and do not change the Sticker's appearance or interaction behaviour.

Set up category-based placement

Choose a Category on the Sticker

Select the Sticker and set Category in Quick Setup. Categories are flags, so a Sticker can belong to more than one category when needed.

Add Sticker Surface 2D to the destination

Add a Collider2D covering the valid placement area, then configure Sticker Surface 2D on that object.

Choose Accepted Categories

On the Surface, select the categories it accepts. A Sticker only needs to share a compatible category to be accepted by that Surface.

Set capacity and parenting if required

Use Maximum Stickers to limit capacity and Placement Root when placed Stickers should become children of a specific moving transform.

ControlUse
Sticker CategoryDefines which placement groups the individual Sticker belongs to.
Accept StickersTemporarily enables or disables placement on the Surface.
Accepted CategoriesDefines which Sticker categories may be placed on the Surface.
Maximum StickersLimits how many Stickers may be registered on that Surface. Use 0 for unlimited.
Placement RootOptional child Transform used as the parent for placed Stickers.
Parent To SurfaceProfile control that keeps placed Stickers attached to the Surface hierarchy so they move with it.
In Quick Setup: the Category field on a Sticker is its placement category. Sticker Surfaces use Accepted Categories to decide which Stickers they will accept.

How categories work

When a held Sticker is placed over a Sticker Surface, StickerLab checks whether the Sticker's Category overlaps with one of the Surface's Accepted Categories. If there is no match, that Surface rejects the placement.

Sticker Category Example use
General Default all-purpose Stickers that are allowed on ordinary Sticker Surfaces.
Decoration Decorative artwork, collectables, cosmetic decals or room customisation.
Warning Hazard labels, warning signs, safety decals or restricted placement areas.
Graffiti Graffiti, tags or street-art Stickers that should only be accepted by suitable surfaces.
Quest Quest items, mission clues, noticeboard Stickers or gameplay-specific placement.

Categories can be combined

Sticker categories use Unity's flags system, so a Sticker or Sticker Surface can use more than one category at the same time.

Sticker example

A mission poster could be both Decoration and Quest , allowing it on decorative surfaces as well as quest boards.

Surface example

A bedroom wall could accept General , Decoration and Graffiti , while a quest board accepts only Quest .

Using categories with Sticker Surface

On a Sticker Surface, configure Accepted Categories to control which Sticker types can be placed there. This works alongside the Surface's other placement settings such as Accept Stickers and Maximum Stickers.

Step Action
1 Select the Sticker and choose one or more values in Category .
2 Select the target Sticker Surface.
3 Enable the matching values under Accepted Categories .
4 At runtime, StickerLab only allows placement when at least one category matches.
Example: a Sticker marked Decoration can be placed on a Surface accepting General + Decoration + Graffiti , but it will be rejected by a Surface accepting only Quest .

What categories currently affect

Categories currently serve as placement permissions . They do not automatically change Profiles, peel behaviour, scratching, holographic rendering, sorting, thumbnails or Sticker inventory organisation.

None and All: None means the Sticker has no matching placement category and will normally be rejected by category-restricted surfaces. All is intended for surfaces or category checks that should accept every category.
Authoring

Sticker Interactions

Use Stickers as gameplay objects by giving them reusable Interaction Tags and dropping them onto Collider2D-backed Interaction Targets.

Separate from Placement Categories: Categories decide where a Sticker may be placed. Interaction Tags describe what a Sticker represents in gameplay, such as Fire, Ice, Key or Healing.

Set up a Sticker Interaction

Create one or more Interaction Tags

Use Assets → Create → StickerLab 2D → Interaction Tag and create project-specific identities such as Fire, Ice, Key or Healing.

Assign Tags to the Sticker

Select the Sticker and add the relevant assets under Sticker Interactions. A Sticker may carry several tags.

Create the target

Add a Collider2D and Sticker Interaction Target 2D to the object that should react to the held Sticker.

Configure the target rules

Rules are evaluated from top to bottom. Decide whether a rule accepts any Sticker or specific tags, then choose the final Keep Held, Place Normally or Remove Sticker behaviour.

Connect the Accepted event

Use the rule event or target Accepted event to call your own gameplay logic, such as opening a lock, applying an effect or updating an objective.

Important target controls

ControlUse
PriorityHigher priority targets win when several Interaction Targets overlap under the pointer.
Block Placement When RejectedStops an incompatible Sticker from falling through to normal placement underneath the target.
Accept Any StickerUse for bins or universal targets that do not care about Sticker identity.
Match Mode: Any / AllChoose whether one accepted tag is enough or every configured tag must be present.
Accepted TagsThe project-specific Sticker identities this rule responds to.
After InteractionChooses whether the Sticker remains Held, continues through normal placement or is removed.

Interaction Tags

Create reusable tag assets from Assets → Create → StickerLab 2D → Interaction Tag , then assign them from the Sticker Inspector under Sticker Interactions .

  • A Fire Sticker can carry the Fire tag.
  • A key Sticker can carry Key or several project-specific key tags.
  • A Sticker may carry more than one Interaction Tag.

Sticker Interaction Target 2D

Add Sticker Interaction Target 2D to any object with a Collider2D on itself or a child. Targets contain ordered rules. The first rule that matches the held Sticker is used.

Outcome Behaviour
Keep Held Run the interaction and leave the Sticker attached to the pointer.
Place Normally Run the interaction, then continue through the normal Sticker placement rules.
Remove Sticker Run the interaction, then remove the Sticker through the public Sticker.Remove() API.

Example: dust bin

Add a Collider2D

The bin only needs a Collider2D covering the area that should accept the Sticker.

Add Sticker Interaction Target 2D

Leave Accept Any Sticker enabled on the default rule.

Choose Remove Sticker

Set After Interaction to Remove Sticker . Dropping any held Sticker onto the bin removes it cleanly and still fires the Sticker's OnRemoved event.

Example: Fire Sticker on a card

Create a Fire tag

Create a Fire Interaction Tag asset and assign it to the fire Sticker.

Add a target to the card

Add Sticker Interaction Target 2D to the card and create a rule that accepts the Fire tag.

Connect the event

Use the rule's Accepted event to call your own card or status controller, for example ApplyFire. StickerLab detects the interaction; your game decides what Fire actually does.

Overlapping targets

Use Priority when several targets overlap. Higher values win. For example, a dust bin sitting on a normal Sticker Surface can have a higher target priority so dropping onto the bin removes the Sticker instead of placing it on the table underneath.

Flexible rejection: enable Block Placement When Rejected for slots or puzzle targets that must prevent incompatible Stickers from falling through to normal placement. Leave it disabled when a non-matching Sticker should simply ignore the target.

Target events

  • Sticker Hover Enter
  • Sticker Hover Exit
  • Sticker Accepted
  • Sticker Rejected
  • Per-rule Accepted events

Advanced scripting

For code-driven projects, implement IStickerInteractionReceiver on a MonoBehaviour attached to the same GameObject as the target. Receivers can reject an otherwise matching interaction and can change the final Keep Held, Place Normally or Remove Sticker disposition before StickerLab commits it.

Authoring

Unity Events

Connect Sticker interactions to gameplay, audio, UI and effects directly from the Sticker Inspector without writing a custom listener script.

Where to find them: select a single Sticker and open the Unity Events foldout in the Sticker Inspector. The heading shows how many persistent event callbacks are currently assigned.

Connect an event in the Inspector

Open Unity Events on the Sticker

Select the Sticker and expand Unity Events in the custom Sticker Inspector.

Add a listener

Press the + button on the event you want to use, then drag the receiving GameObject or Component into the object field.

Select the function

Choose the public function Unity should call. Use Peel Started or Complete for one-off actions, Sticker Placed for placement results, and Scratch Started or Ended for scratch state changes.

Use the progress events when you need a live value

Peel Progress and Scratch Progress pass a float from 0 to 1. Use the dynamic float entry when the receiving function should get that live progress value.

Test the actual interaction

Enter Play Mode and trigger the event through the Sticker interaction. This confirms both the event timing and the target method are correct.

Good fit for Unity Events: audio, particles, simple UI, achievements, counters and one-off gameplay callbacks. Use the scripting API when the integration needs more runtime state or branching logic.

Peel Events

Inspector event Runtime event When it fires
Peel Started OnPeelStarted Invoked when a peel interaction begins.
Peel Progress OnPeelChanged(float) Invoked while peeling and passes progress from 0 to 1.
Peel Complete OnPeelComplete Invoked when the Sticker becomes fully peeled and enters Held state.
Peel Cancelled OnPeelCancelled Invoked when the peel returns to the surface instead of completing.

Placement Events

Inspector event Runtime event When it fires
Sticker Placed OnStickerPlaced Invoked after a held Sticker finishes being placed.

Scratch Events

Scratch Events are shown when the selected Sticker Profile has scratching enabled.

Inspector event Runtime event When it fires
Scratch Started OnScratchStarted Invoked when a scratch interaction begins.
Scratch Progress OnScratchChanged(float) Invoked as scratching changes and passes progress from 0 to 1.
Scratch Ended OnScratchEnded Invoked when the current scratch interaction ends.

Common uses

Audio

Play peel, placement or scratch sounds at the exact interaction point you need.

Visual effects

Trigger particles, animation, screen feedback or UI when peeling starts, completes or a Sticker is placed.

Gameplay

Advance objectives, award points, unlock content or react to scratch progress without changing StickerLab runtime code.

Progress values

OnPeelChanged and OnScratchChanged expose a float from 0 to 1, making them useful for meters, audio parameters or other continuous feedback.

Sticker Unity Events Inspector
Unity Events can be assigned directly from the Sticker Inspector.
Single selection only: event callbacks are edited on one Sticker at a time. With multiple Stickers selected, the Inspector asks you to select a single Sticker before editing events.
Development

Runtime scripting and API

Spawn prepared Sticker prefabs, inspect runtime state and connect StickerLab to your own gameplay. The component reference below explains what each runtime component owns, which public members are useful and when you would normally call them.

Recommended: StickerSpawner

using StickerLab2D;
using UnityEngine;

public class StickerPalette : MonoBehaviour
{
    [SerializeField] private StickerSpawner spawner;
    [SerializeField] private Sticker fishStickerPrefab;

    public void SpawnFish()
    {
        spawner.Spawn(fishStickerPrefab);
    }
}

StickerSpawner.Spawn(...) instantiates the prefab and attempts to put the new Sticker directly into Held state. This works well with UI palette buttons. For a visual palette or sticker drawer, use the Sticker Inspector's baked thumbnail as the Button or Image artwork so the UI can show the finished effect before the Sticker is spawned.

Direct API

Sticker instance = Instantiate(stickerPrefab);

if (!instance.BeginHeld())
{
    Destroy(instance.gameObject);
}
One interaction at a time: if another Sticker already owns the current interaction, a newly spawned Sticker may be unable to enter Held state. The provided StickerSpawner can destroy failed instances automatically.
Runtime spawner setup
The spawner and assigned sticker prefab in the Unity Inspector.

Components and scripting API

StickerLab is built from a public Sticker facade plus focused runtime modules. For most gameplay code, start with Sticker. Reach into a module only when you need feature-specific control such as animation playback, scratch progress, wear or holographic settings.

Recommended pattern: keep a reference to Sticker, use its state and module properties, and let the assigned Profile manage the internal modules. Manually adding or removing Profile-managed modules should not be the normal runtime workflow.

Component map

Sticker

Main facade

The main component your gameplay code should normally use. It owns per-Sticker artwork and Profile references, exposes high-level state, and provides safe access to optional runtime modules.

Public memberResponsibility
bool BeginHeld()Moves the Sticker directly into Held / follow-cursor state. Useful for inventories, palettes and custom pickup logic.
void Remove()Removes the Sticker through its public lifecycle and invokes OnRemoved before destruction.
void SetSprite(Sprite)Changes the authored Sprite and applies it to the main renderer.
void SetProfile(StickerProfile)Changes the active Profile. In Play Mode, StickerProfileRuntime reconciles required modules and applies the new settings.
void ReapplyProfile()Re-applies the current runtime Profile without changing the Profile reference.
SetCategory(...)Changes the placement category used by Sticker Surfaces.
HasInteractionTag(...)Checks whether the Sticker contains a specific Interaction Tag asset.
AddInteractionTag(...) / RemoveInteractionTag(...)Adds or removes interaction identity at runtime.
ClearInteractionTags()Removes all runtime interaction tags.
RefreshModuleReferences()Refreshes cached module references after components have changed. Profile switching already does this automatically.

Useful state: IsHeld IsPeeling IsPlaced PeelAmount HasRequiredModules RemovalRequested. Module access: PeelModule ScratchModule WearModule HolographicModule ResidueModule AnimationModule.

Sticker sticker = GetComponent<Sticker>();

if (sticker.BeginHeld())
{
    Debug.Log("Sticker is now held");
}

sticker.SetProfile(alternateProfile);

StickerSpawner

Runtime helper

Spawns prepared Sticker prefabs and immediately attempts to enter Held state. Designed for UI buttons, Sticker drawers and inventory-style workflows.

Public memberResponsibility
Sticker SpawnHeld()Spawns the configured default prefab and returns the new instance.
void SpawnDefault()Unity UI Button friendly wrapper for the default prefab.
void Spawn(Sticker)UnityEvent / Button friendly wrapper for a supplied prefab.
Sticker SpawnHeld(Sticker)Spawns a supplied prefab, enters Held state and returns the created Sticker for code use.
SetDefaultStickerPrefab(...)Changes the default prefab used by no-argument spawning.
SetDisplaySprite(...) / SetStickerLabel(...)Updates optional child UI presentation.
RefreshUI()Forces the spawner's child UI to refresh.

Event: OnStickerSpawned(Sticker). Properties: DefaultStickerPrefab DisplaySprite StickerLabel.

PeelableSprite2D

Core module

Owns the interaction state machine for pressing, scratching, peeling, returning, Held movement and placement. Direct access is mainly useful for state queries and advanced integrations.

Public memberResponsibility
bool BeginHeld()Direct module equivalent of Sticker.BeginHeld().
void ResetPeel()Stops active interaction, restores the original transform/surface, resets visuals and returns to Attached state.
void BringStickerToFront()Requests a new front-most sorting order when automatic sorting is enabled.
TryGetCurrentPeelGeometry(out crease, out normal)Returns the live crease and peel normal in Sticker-local space for custom visual modules.
RefreshRuntimeModuleReferences()Refreshes Scratch and Animator references after runtime module changes without resetting peel state.

Useful state: State PeelAmount CurrentSurface IsDragging IsFollowingCursor IsScaleModeActive CanStartPeel.

Its animation frame receiver methods are integration hooks and are not normal gameplay calls.

ScratchableSticker2D

Optional module

Owns the per-instance scratch mask and scratch progress. It can be driven by StickerLab's normal pointer logic or manually with Sticker-local coordinates.

Public memberResponsibility
BeginScratch(Vector2, bool)Starts a programmatic scratch at a Sticker-local point.
ScratchToLocal(Vector2)Continues the current scratch to another Sticker-local point.
EndScratch()Ends the current scratch interaction.
ResetScratch()Restores the scratch mask to its untouched state.
SetBaseColor(Color)Changes the base/reveal colour.
SetScratchable(bool)Enables or disables scratching at runtime.

State: IsScratchable IsScratching IsInitialized ScratchAmount. Events: OnScratchStarted OnScratchChanged(float) OnScratchEnded.

StickerWear2D

Optional module

Owns persistent wear that accumulates over successful peels. Wear is instance-owned and reused across animated frames.

Public memberResponsibility
RegisterPeel()Manually counts one peel and adds wear when configured thresholds allow it.
SetWearEnabled(bool)Enables or disables the wear system.
ToggleWearSystem()Toggles the current wear-enabled state.
ResetWear()Clears wear and optionally resets peel count according to the Profile setting.
AddTestWear()Development helper that forces a test wear pass.

State: WearEnabled PeelCount WearAmount HasVisibleWear.

StickerSpriteAnimator2D

Optional module

Advances authored Sprite frames and keeps animation-aware Sticker modules synchronized. Use it when gameplay needs to control playback or select frames directly.

Public memberResponsibility
Play() / Pause() / Resume() / Stop()Controls playback without needing to change the Profile.
RestartAnimation()Returns to frame 0 and applies it immediately.
SetFrame(int)Clamps and displays a specific frame.
NextFrame() / PreviousFrame()Steps the animation manually.
RefreshFrameReceivers()Rebuilds the frame receiver/preloader cache after runtime component changes.

State: CurrentFrame FrameCount IsPlaying CurrentSprite DisplayedSprite. Runtime setters: FramesPerSecond Speed.

StickerSpriteAnimator2D animator = sticker.AnimationModule;

if (animator != null)
{
    animator.Speed = 0.5f;
    animator.RestartAnimation();
}

StickerHolographicOverlay2D

Optional module

Owns holographic / foil presentation. Most values come from the Profile, while these methods support runtime toggles and colour changes.

Public memberResponsibility
SetOverlayEnabled(bool) / ToggleOverlay()Enables, disables or toggles the foil overlay.
SetColourPreset(...)Switches to a built-in foil colour preset.
SetCustomGradient(Gradient)Copies a custom runtime Gradient and selects Custom mode.
CopyCurrentPresetToCustom()Copies the current preset into an editable custom Gradient.
RandomiseSparkleLayout()Generates a new sparkle seed.
ResetMaskAlignment()Restores mask scale, offset and flip settings.
RefreshNow()Immediately resynchronizes the runtime overlay.

State: OverlayEnabled ColourPreset BlendMode CurrentSparkleShape.

StickerSurface2D

World component

Defines a valid placement surface. It checks categories and capacity, exposes a Placement Root and tracks registered Stickers.

Public memberResponsibility
AcceptStickersRuntime get/set switch for whether placement is currently accepted.
CanAcceptSticker(PeelableSprite2D)Checks surface enabled state, category and capacity without registering.
TryRegisterSticker(...)Registers an accepted Sticker and fires OnStickerAdded when newly added.
UnregisterSticker(...)Removes a Sticker and fires OnStickerRemoved when applicable.
ContainsSticker(...)Checks whether a Sticker is registered on this surface.

State: AcceptedCategories PlacementRoot StickerCount.

if (surface.CanAcceptSticker(sticker.PeelModule))
{
    Debug.Log("Surface accepts this Sticker");
}

StickerInteractionTarget2D

World component

Makes a Collider2D-backed object react to held Stickers using ordered rules and reusable StickerInteractionTag assets. Standard Held placement calls this automatically.

Public memberResponsibility
CanAcceptSticker(Sticker, out disposition)Checks the configured rules without committing an interaction.
TryInteract(Sticker, Vector3, StickerSurface2D, out disposition)Runs rule matching, advanced receivers and target events, then returns the final Keep Held, Place Normally or Remove Sticker disposition.

State: Priority BlockPlacementWhenRejected.

Usually automatic: call TryInteract() yourself only when building a custom input or placement flow.

StickerProfileRuntime

Runtime service

Hidden runtime owner for the active Profile and its module instances. It performs the Play Mode / player equivalent of Profile reconciliation when the Profile changes.

Public memberResponsibility
ApplyProfile(StickerProfile)Applies a Profile and reconciles the required optional modules.
ReapplyActiveProfile()Re-applies the current runtime Profile.

State: ActiveProfile.

Prefer the facade: use Sticker.SetProfile() and Sticker.ReapplyProfile() unless you specifically need the runtime service. Profile switching is intended as an occasional gameplay action, not a per-frame operation.

StickerFoldShading2D and StickerPeelResidue2D

Profile-driven

StickerFoldShading2D follows the active fold with front shadow and backside highlight bands. StickerPeelResidue2D manages the adhesive / silhouette trace left on the source surface. Neither currently exposes a normal gameplay control API. Configure them through the Profile and access their references through Sticker only when needed for advanced inspection.

Extension interfaces

Advanced

Use these when building custom systems that need to participate in StickerLab's animation or interaction pipeline.

IStickerInteractionReceiver

Add a MonoBehaviour implementing this interface to the same GameObject as a StickerInteractionTarget2D. CanReceiveSticker(context) can reject an otherwise matching rule. ReceiveSticker(context) runs after all receivers approve and may change context.Disposition.

public class CustomStickerReceiver : MonoBehaviour, IStickerInteractionReceiver
{
    public bool CanReceiveSticker(StickerInteractionContext context)
    {
        return context.Sticker != null;
    }

    public void ReceiveSticker(StickerInteractionContext context)
    {
        context.Disposition = StickerInteractionDisposition.KeepHeld;
    }
}
IStickerSpriteFrameReceiver and IStickerSpriteFramePreloader

ApplyStickerSpriteFrame(Sprite frame) is called when the authored animation frame changes. Return true only if your receiver owns the main artwork renderer for that frame. PrepareStickerSpriteFrames(Sprite[] frames) is the optional preloading hook used when Preload Frame Receivers is enabled.

StickerSorting2D

GetNextOrder(minimumOrder) returns a new front-most order, RegisterExistingOrder(order) keeps the allocator aware of externally assigned orders, and CurrentHighestOrder reports the current maximum.

StickerInteractionTag

A ScriptableObject identity asset rather than a string or enum. Create project-specific tags such as Fire, Ice or Key, assign them to Stickers, then match those assets in StickerInteractionTarget2D rules.

Events

For Inspector-driven callbacks and the full Peel, Placement and Scratch event list, see Unity Events. You can mix scripting and UnityEvents in the same project.

Development

Performance and best practices

StickerLab's common visual path is built to stay lightweight, but some authoring controls deliberately trade more processing for denser effects, higher detail or more frequent updates.

Runtime interaction path: the current wear and animated backside paths avoid synchronous source-texture readbacks during normal spawn, placement and animation-frame changes. Persistent wear is generated only when wear is actually added, then reused and clipped by the live Sprite silhouette.

Settings that can change performance

Some controls change only the look of a Sticker, while others directly change how much pixel work, geometry or animation updating StickerLab performs. The bands below are practical authoring guidance, not hard hardware limits. Always profile the final combination on the target device.

Lower costUsually comfortable for many Stickers. WatchFine in moderation, but worth profiling in larger scenes. HeavierCan become noticeable when combined with high-resolution art or many active Stickers. TimingMoves when work happens rather than simply making rendering more expensive.
SettingLower costWatchHeavierWhy it matters
Animation effective FPSFrames Per Second × Speed Multiplier 1 to 12 13 to 30 31+ Each displayed frame change notifies animation-aware modules. More frame changes mean more synchronization work. The Profile supports up to 60 FPS before the Speed Multiplier is applied.
Scratch Brush RadiusSlider range: 2 to 200 px 2 to 40 41 to 90 91 to 200 A larger brush touches more pixels per stamp. Cost grows quickly as the brush area gets larger.
Scratch Brush SpacingSlider range: 0.5 to 30 px 5 to 30 2 to 4.9 0.5 to 1.9 Lower spacing creates more brush stamps while dragging. Very small spacing combined with a large radius is the expensive combination.
Wear Stamps Per PeelSlider range: 1 to 40 1 to 8 9 to 18 19 to 40 Each wear stamp runs its own bounded pixel pass. StickerLab can also add more stamps as wear progression increases, so high base values multiply quickly.
Wear Maximum Stamp RadiusSlider range: 2 to 200 px 2 to 40 41 to 90 91 to 200 Larger wear marks scan a larger ellipse. The optimized Wear path avoids wasted square bounds, but pixel work still rises with mark area.
Visual Outline Simplification OnSpacing 2 to 6 px
Corner Vertices 0 to 2
OnSpacing below 2 px
Corners 3 to 4
Offor Corners 5 to 8 Complex silhouettes can contain many contour points. Simplification reduces LineRenderer geometry and the amount of outline data that animated frames need to carry.
Holographic Sparkle AmountSlider range: 0 to 1 0 to 0.35 0.36 to 0.75 0.76 to 1 The shader can exit early for pixels that do not contain a sparkle. Higher Amount allows more pixels through the sparkle calculation. Setting Sparkle Strength or Amount to 0 disables that branch.
Preload Frame Receivers Timing controlOff is the recommended starting point for runtime-spawned Stickers. This moves compatible frame preparation to startup/spawn. It can make later playback smoother, but may create a spawn hitch when a receiver has expensive preparation.
Source Sprite resolutionImportant for Scratch and Wear Up to 512² Around 1024² 2048²+ Scratch and Wear own runtime textures sized from the Sticker artwork. Larger source Sprites increase memory, pixel processing and texture upload size.
Not every large-looking value is expensive: Holographic Sparkle Density changes the procedural grid frequency but does not create a loop of individual sparkle objects. Gradient Texture Resolution mainly affects the small gradient texture when it is built, not the normal per-frame shader complexity. Wear Edge Search Radius now controls how far the chosen wear centre can move inward and is not a pixel-search loop.

Feature combinations to profile

Animated + ScratchWatch

Animation frame changes and scratch presentation both update the active artwork. Higher effective FPS and high-resolution frames make this combination more demanding.

Animated + ResidueHeavier

Residue may prepare silhouette information for animation frames. Large frame sets are worth testing carefully, especially when frame preloading is enabled.

Wear + large artworkWatch

Wear generation is optimized, but the final wear texture upload still scales with the Sticker's pixel dimensions. Large art plus many stamps is the main stress case.

Holographic + SparklesWatch

The foil overlay adds another shader-driven visual pass. Sparkles add more fragment work when enabled, so profile scenes containing many large on-screen holographic Stickers.

Complex outlinesWatch

Highly detailed Sprite silhouettes create more outline points. Keep Simplify Visual Outline enabled unless you genuinely need every contour detail.

Core peel + placementLower cost

The core interaction path is mostly transform, mask and pointer work. Optional damage, animation and finish modules are usually the first places to look when profiling a heavier Sticker.

System Cost profile
Core peel / placement Mostly transform, mask and pointer math.
Hover / held contour Cached contour data; animated frames swap cached geometry rather than rebuilding every Update.
Holographic overlay Persistent mesh overlay plus shader work. Animated frames reuse the runtime overlay and update the bound Sprite source while peel / placement clipping is handled in the shader.
Scratch Runtime texture is created lazily on first scratch. Updates use dirty tiles rather than rebuilding the full texture every pointer step.
Persistent wear One instance-owned runtime texture is reused across animation frames. Spawn and frame changes avoid source-Sprite readbacks; the live Sprite silhouette clips wear in the shader. Wear stamping uses bounded scan regions and direct texture uploads.
Generated backside Animated fallback backsides use the current Sprite with a shader-driven silhouette instead of generating a new CPU texture for every frame.
Peel residue Optional residue can require additional silhouette data, especially on animated Stickers. Enable it only on Profiles that need the effect and test large animation sets on the target hardware.
Animation Secondary systems update when the displayed Sprite frame changes. Preload Frame Receivers can move compatible one-time preparation to spawn, so leave it disabled for normal runtime spawning unless deliberate prewarming is preferred.
Placement audio Keep short placement SFX ready in memory. Unity AudioClips used for immediate interaction are best imported with Preload Audio Data enabled and a suitable Decompress On Load format such as PCM or ADPCM.
WebGL performance
Development stress test with many simultaneous Stickers and mixed features in WebGL.
Validated builds: the current package has been tested in a Windows standalone player and WebGL, including runtime spawning and mixed-feature stress testing.
WebGL audio: browsers may block Unity's AudioContext until the page receives a user gesture. This is normal browser autoplay behaviour, not a StickerLab rendering failure.

Best practices

Use Profiles for behaviour

Reuse a Profile across artwork that shares the same behaviour. Keep artwork-specific data such as the Holographic Mask, Sticker Back Scale and animation content on the Sticker itself. Create a separate Profile only when the shared behaviour needs to differ.

Keep artwork clean

Transparent PNGs with clean alpha give better silhouettes for backside generation, contours, wear and residue.

Build prefabs before runtime

Use the Editor builder to generate the correct modules, then spawn those prepared prefabs in-game.

Enable only what you need

Scratch, wear, residue and holographic effects are modular. A Sticker that only needs peeling should not carry every optional feature.

Match animation geometry

For scratchable animated Stickers, keep frame pixel dimensions, pivot and Pixels Per Unit compatible.

Keep frame preloading deliberate

For runtime-spawned animated Stickers, keep Preload Frame Receivers disabled unless a specific receiver benefits from being prepared at spawn. This avoids moving avoidable one-time work onto the spawn click.

Test the target platform

WebGL, mobile and low-end hardware have different memory and shader constraints. Test with the number of Stickers and feature combinations expected during gameplay.

Support

Troubleshooting and FAQ

Practical checks for artwork, setup, interaction and builds. Start with the symptom that matches your project.

Before you change settings: check the Unity Console, confirm that the Sticker has a Sprite and Profile assigned, and sync it in the Inspector. Change one setting at a time and retest.

Artwork and alignment

My sticker’s back is offset from the front

Start by checking the artwork alignment and the Sticker hierarchy. Moving only the generated back renderer can hide the symptom while leaving the setup inconsistent.

  1. If you assigned a custom backside Sprite, export it on the same canvas as the front. Match the artwork position and transparent padding.
  2. In Unity, compare the front and back Sprite pivots and Pixels Per Unit. Apply any import changes.
  3. Temporarily remove the custom backside Sprite and sync the Sticker to test its generated white back. If that aligns, inspect the custom artwork and its import settings.
  4. Use Sticker Back Scale X / Y on the Sticker Inspector to fine-tune the reverse-side fit for this artwork. Adjust each axis independently while checking a partial peel.
  5. Check for manually moved, rotated or scaled generated child objects. Rebuild or sync through the Sticker Inspector rather than compensating by editing generated children.
  6. Test a duplicate under an unscaled parent. If alignment changes, inspect the original parent hierarchy for non-uniform or negative scale.

Compare the sticker before and during a partial peel. If the offset remains, include both Sprite import settings and the hierarchy when reporting it.

Unity reference: Sprite import settings

The custom back is a different size from the front

Check artwork dimensions and scale before adjusting the renderer.

  1. Match the front and back canvas dimensions and Pixels Per Unit. Different transparent borders can make equal-sized images look misaligned.
  2. Confirm that both images were sliced to the intended Sprite rectangles.
  3. Apply the import settings and resync the Sticker. If the back still needs fitting, adjust Sticker Back Scale X / Y on the Sticker rather than scaling the generated back renderer directly.
My sticker has an unwanted rectangle or coloured background

The artwork needs a transparent background for a clean silhouette.

  1. Inspect the exported PNG against a transparency checkerboard in your image editor. A white painted background is not transparency.
  2. Check that Unity imports the texture as Sprite (2D and UI) and retains its alpha channel.
  3. Assign the corrected Sprite in the Sticker’s Quick Setup and sync the object.
The edges look blurry, jagged or have a light fringe

Check the source edge and texture import settings at the size used in the game.

  1. Inspect the original alpha edge for stray pixels or a white colour fringe.
  2. Compare filtering and compression on a duplicate texture. Point filtering suits pixel art; bilinear filtering smooths interpolated edges.
  3. Check that the platform’s texture size limit is not reducing the image below the resolution you need.

Use the smallest texture that remains clear at the intended display size.

Animation frames shift position or change size

Frame artwork must use a consistent alignment.

  1. Keep the canvas, artwork registration point, pivot and Pixels Per Unit consistent across frames.
  2. Check that sprite-sheet slicing has not trimmed each frame differently.
  3. Apply import changes, check the frame list on the Sticker and sync it again.
The sticker is stretched after I place it on another object

Inspect the transform hierarchy of the destination surface.

  1. Check the scale of the Surface’s Placement Root and its parents.
  2. Test the same placement with an unscaled root.
  3. Keep the surface hierarchy’s scale consistent and move or scale the complete Sticker instead of editing individual generated renderers.

Installation and configuration

I cannot find the Sticker component

Check whether the project has finished importing and compiling.

  1. Resolve the first red Console error before looking for the component again.
  2. Confirm that the StickerLab package imported and its folder structure remains intact.
  3. Use Add Component → StickerLab 2D → Sticker on a GameObject with a SpriteRenderer.
The Inspector shows Setup

The Sticker is missing required authoring data.

  1. Assign the main Sprite in Quick Setup.
  2. Assign a Sticker Profile.
  3. Use the Inspector’s sync or rebuild action and check the resulting status.
The Inspector shows Needs Sync

The generated setup does not match the current Profile or per-Sticker settings.

  1. Stop Play mode before making a permanent authoring change.
  2. Use the Sticker Inspector’s sync or rebuild action.
  3. If the object is a prefab, apply the intended changes to the prefab you actually spawn.
A Profile change is not appearing on my sticker

Check the assigned asset and whether the Sticker has been synced.

  1. Select the Sticker and confirm it references the Profile you edited.
  2. Sync the Sticker and review its Profile Overview.
  3. Check whether you changed a shared Profile setting or a per-Sticker setting such as the Holographic Mask, Sticker Back Scale, animation frames or playback speed.
Changing one Profile affects several stickers

A Profile is a shared behaviour preset.

  1. Duplicate the Profile when one group of Stickers needs different behaviour.
  2. Assign the duplicate to those Stickers and sync them.
  3. Keep artwork-specific data such as the Sprite, Holographic Mask, Sticker Back Scale and animation content on each Sticker rather than creating a Profile for every image.
My changes disappear when I leave Play mode

Make permanent setup changes outside Play mode.

  1. Stop Play mode and repeat the intended change in the scene or prefab.
  2. Apply prefab changes where required and save the scene.
  3. Keep gameplay persistence separate from authoring. If the game needs to remember runtime changes, implement that in your own save system.

Peeling and controls

My sticker does not respond to the mouse

Check input, setup and visibility before changing peel values.

  1. Make sure the Game view has focus and the Sticker reports Ready.
  2. Confirm the Input System package is installed and enabled in the project’s Active Input Handling setting. Restart the Editor if Unity requests it.
  3. Test one Sticker in the included demo and then in a minimal scene.
  4. Check whether another held Sticker owns the interaction or your own UI code blocks pointer input.

Unity reference: Input System installation

The sticker snaps back instead of staying in my hand

A partial peel returns to the surface when released.

  1. Continue dragging until the peel completes and the Sticker enters Held state.
  2. If it requires too much movement, review the peel threshold and edge behaviour in the Profile.
  3. Retest after syncing the Sticker.
Peeling starts too easily or requires too much dragging

Tune the interaction settings on the assigned Profile.

  1. Adjust the peel threshold and edge behaviour one setting at a time.
  2. Test at the camera zoom and Sticker size used in your game.
  3. Resync and compare against an unchanged Profile so you can identify which setting changed the response.
Double click does not pick up the sticker

Automatic lift is optional.

  1. Enable Quick Pickup in the assigned Profile if you want double-click pickup.
  2. Sync the Sticker and finish any current interaction.
  3. Test normal edge peeling first to confirm the Sticker receives mouse input.
The mouse wheel scales when I want to rotate

Scale Mode changes the wheel action while a Sticker is held.

  1. Right click while held to leave Scale Mode.
  2. Use the wheel again to rotate.
  3. If rotation is still unavailable, check that wheel rotation is enabled in the Profile.
I cannot select a sticker underneath another sticker

The topmost Sticker receives the pointer interaction.

  1. Move or remove the upper Sticker to reach the one beneath it.
  2. Check the intended sorting order if the wrong Sticker appears in front.
  3. Keep the generated visual layers together instead of changing their sorting independently.

Surfaces and placement

My sticker will not place on a surface

Check the surface rules and the Sticker’s placement settings.

  1. Confirm the Sticker is in Held state and the target has a StickerSurface2D component.
  2. Enable Accept Stickers on the surface.
  3. Check Accepted Categories and Maximum Stickers.
  4. Run the Surface Inspector’s validation or repair action and review the Profile’s placement restrictions.
One sticker places successfully but another is rejected

Compare the two Stickers’ categories and Profiles.

  1. Check each Sticker’s Category against the Surface’s Accepted Categories.
  2. Compare any placement restrictions in their assigned Profiles.
  3. Check whether the first placement reached the surface’s Maximum Stickers limit.
The surface stops accepting stickers after a few placements

The surface may have reached its configured capacity.

  1. Check Maximum Stickers and the current registered count.
  2. Increase the limit or use 0 for unlimited placement.
  3. When removing stickers through your game code, use the supported removal workflow so the surface can update its registration.
The sticker does not follow a moving surface

Check which Transform receives the placed Sticker.

  1. Assign the Surface’s Placement Root inside the moving object’s hierarchy.
  2. Inspect the Sticker’s parent after placement to confirm where it was attached.
  3. Move the intended root and check for scripts that reparent or overwrite the Sticker transform.
The sticker can be placed outside the area I intended

Review the allowed placement targets and Profile restrictions.

  1. Check whether the Profile permits free placement.
  2. Use the intended StickerSurface2D targets and run their validation helpers.
  3. Check the surface setup in the scene and confirm that the placement area matches the intended target.

Appearance and animation

The holographic effect covers parts that should stay plain

Use a mask to control where the finish appears.

  1. Assign the correct Holographic Mask on the individual Sticker, not as shared artwork on the Profile.
  2. Use black for no effect, white for full effect and grey for a softer effect.
  3. Check that the mask artwork aligns with the Sticker artwork.
  4. Review the Profile's mask strength, threshold, channel and effect intensity, then sync and test.
The holographic finish is too strong or barely visible

Adjust the effect on the assigned Profile.

  1. Check that the holographic feature is enabled and the mask permits an effect in the area being inspected.
  2. Review Holographic Blend, intensity, opacity, saturation and brightness. Blend modes such as Overlay, Soft Light, Screen and Linear Dodge (Add) can produce very different apparent strength.
  3. Check which Sticker states allow the effect before comparing attached, peeling and held appearances.
Foil or sparkles disappear while I peel or hold the sticker

The effect may be configured to hide in those states.

  1. Review the holographic state settings on the Profile.
  2. Enable the effect for the required states and sync the Sticker.
  3. Test attached, peeling and held states separately to confirm the intended result.
The sticker or its foil renders pink or magenta

Check the material and shader reported by Unity.

  1. Read the Console for missing-shader or shader-compilation errors.
  2. Confirm the package’s shader and material assets imported correctly.
  3. Check compatibility with the project’s render pipeline. Test the supplied demo materials before replacing shaders or converting materials.
Scratching does not start

Scratch interaction must be enabled through the Profile.

  1. Enable Scratch and sync the Sticker.
  2. If hold-to-scratch is enabled, hold before dragging.
  3. Check that the Sticker receives normal pointer input and that another Sticker does not own the interaction.
  4. Review brush strength and reveal colour if input works but the mark is difficult to see.
Scratch marks are too wide, too harsh or appear as separate stamps

Adjust the scratch brush to match the artwork and interaction scale.

  1. Review brush size and hardness for the width and edge softness.
  2. Reduce strength if each stroke removes too much.
  3. Review spacing if the stroke appears as separate marks. Test slow and fast pointer movement.
Repeated peeling does not produce visible wear

Wear is an optional feature with its own accumulation settings.

  1. Enable persistent wear on the assigned Profile and sync the Sticker.
  2. Check wear strength, stamp count, edge bias and maximum amount.
  3. Compare the same Sticker before and after several complete peel and placement cycles.
I do not want residue left on the surface

Residue is configured separately from peeling and wear.

  1. Disable Peel Residue in the Profile.
  2. Sync the affected scene Stickers or prefab.
  3. Start a fresh test with that setup to check the resulting behaviour.
My animated sticker stays on one frame

Check both the Profile and the per-Sticker animation content.

  1. Enable Sprite Animation on the Profile.
  2. Assign the frames to this Sticker and check Frames Per Second and Playback Mode.
  3. Check whether animation is enabled for its current state, then sync the Sticker.
Animation stops after one cycle or stops while the sticker is held

Review playback mode and state rules separately.

  1. Use Loop when the animation should repeat continuously. Once completes a single playback.
  2. Review the Profile’s animation rules for Attached, Peeling, Held and Placing.
  3. Keep the frame list and playback settings on the Sticker that is actually in the scene or prefab.

Runtime, builds and performance

My UI button does not spawn a sticker

Check the button’s event and the spawner’s references.

  1. Confirm the UI button calls the intended StickerSpawner Spawn method.
  2. Assign a fully built Sticker prefab and confirm the referenced object exists at runtime.
  3. Check the Console, then test with no other Sticker currently held.
A new sticker does not enter Held state

Only one Sticker can own the current interaction.

  1. Place or release the currently held Sticker before spawning another.
  2. If using the API directly, check the return value of BeginHeld().
  3. Handle a false result in your game code. The supplied spawner can destroy an instance when it fails to enter Held state.
The prefab works in the Editor but is incomplete in a player build

The player uses the runtime modules already built into the prefab.

  1. Open the actual prefab asset outside Play mode, assign its Sprite and Profile, and sync it.
  2. Save the prefab and check that the spawner references that asset.
  3. Remove runtime dependencies on the Editor-only builder and inspect the player log for missing assets or exceptions.
SetProfile() does not add the new feature modules at runtime

Changing the facade’s Profile reference does not run the Editor builder in a player.

  1. Prepare and sync separate prefabs for different module layouts.
  2. Spawn the prefab that contains the required features.
  3. Use SetProfile() within the documented runtime behaviour rather than expecting it to generate missing components.
An animated Sticker hitches when it spawns or when animation starts

Animation receivers can optionally prepare frame-specific data before playback. Preloading moves that work to spawn, while deferred preparation moves it to the first frame that needs it.

  1. For normal runtime spawning, start with Preload Frame Receivers disabled.
  2. If enabling it makes placement smoother but causes a spawn hitch, the receiver is front-loading one-time preparation rather than removing the cost.
  3. Use the Unity Profiler and expand StickerSpriteAnimator2D → ApplyCurrentFrame to identify the receiver that performs the work.
  4. StickerLab's built-in persistent wear path does not require per-frame wear-mask generation, so make sure the current Wear script and StickerWearOverlay shader are installed together.
The first placement hitches when a sound plays

A short interaction sound can stall the first placement if Unity has to synchronously load or decode the AudioClip at the moment PlayOneShot is called.

  1. Select the placement AudioClip and enable Preload Audio Data.
  2. For a short immediate SFX, use Decompress On Load with PCM or ADPCM as appropriate for the clip.
  3. Retest the first placement in a fresh Play Mode session and confirm the spike is no longer inside audio loading.
The scene slows down when I add many stickers

Measure which optional feature consumes the frame time before changing the whole setup. Core peeling and placement are intentionally lightweight, while scratch, residue, holographic foil, sparkles and animated secondary effects add their own cost.

  1. Compare a core peeling Profile against the same Sticker with scratch, wear, residue, holographic effects or sparkles enabled.
  2. For animated runtime-spawned Stickers, keep Preload Frame Receivers disabled unless you deliberately want compatible preparation work to happen during spawn.
  3. Disable features you do not need and test representative Sticker counts on the target device.
  4. Use the Unity Profiler to inspect the exact spawn, peel or placement frame instead of assuming every optional module has the same cost.
The first scratch or a large animated scene uses too much memory

Scratch textures, optional residue data and deliberately preloaded animation-frame data can contribute to runtime memory use. Persistent wear reuses one wear texture across animation frames rather than allocating one texture per frame.

  1. Measure memory before and after scratching to identify the change. Scratch textures are created on first use.
  2. Leave Preload Frame Receivers disabled unless you have a specific reason to prepare compatible receiver data at spawn.
  3. Reduce unnecessary source resolution and animation frame counts, then compare the result.
  4. Reuse artwork where appropriate and test how many scratch-, residue- and animation-enabled Stickers your gameplay needs simultaneously.
Bake Sticker Thumbnail does not create the preview I expect

The thumbnail baker uses the runtime render so shader-driven finishes can be captured accurately.

  1. Make sure the Sticker is Profile Synced before baking.
  2. Do not interrupt the automatic Play Mode capture. StickerLab may briefly enter Play Mode and wait until the end of a rendered frame.
  3. For holographic Stickers, confirm the correct per-Sticker Holographic Mask is assigned and sync again before baking.
  4. Check StickerLab2D/Sprites/Thumbnails inside the installed StickerLab folder for the generated transparent Sprite and review the Console if the capture was interrupted.
WebGL audio is silent until I click

Browsers can require a user gesture before audio starts.

  1. Click or tap inside the player, then trigger the sound again.
  2. Check the tab, operating-system volume and assigned audio clips.
  3. If audio remains silent after a gesture, inspect the browser Console and compare the same setup in a standalone build.

FAQ

Do I need a custom backside image?
No. Leave the backside Sprite empty and StickerLab generates a white reverse silhouette from the current authored front Sprite.
Can many Stickers share the same Profile?
Yes. Profiles store shared behaviour. Each Sticker keeps its own artwork-specific data such as its Sprite, Holographic Mask, Sticker Back Scale and animation content.
Where should I assign a holographic mask?
Assign the mask on the individual Sticker. The Sticker mask overrides the legacy Profile mask, while the Profile continues to define the shared foil, mask-processing, shimmer and sparkle behaviour.
Why is Sticker Back Scale stored on the Sticker?
Different artwork can have different proportions, transparent padding and trimming. Per-Sticker X and Y controls let the backside align correctly during peeling without forcing every Sticker that shares the Profile to use the same scale.
What does Bake Sticker Thumbnail do?
It creates a transparent Sprite preview of the finished Sticker for UI use. StickerLab briefly captures the real runtime render so effects such as holographic foil and sparkles are represented accurately, then imports the result under StickerLab2D/Sprites/Thumbnails inside the installed StickerLab folder.
Can animated Stickers share one Animated Profile?
Yes. Their animation frames, FPS and playback mode are stored per Sticker, so completely different animations can reuse the same Profile behaviour.
Can I place Stickers on moving objects?
Yes. Put a StickerSurface2D in the moving object's hierarchy and use its Placement Root so placed Stickers inherit that transform.
Can I place Stickers on top of other Stickers?
Overlapping Stickers are supported. Sorting groups and exclusive interaction ownership help ensure only the visually topmost Sticker receives the pointer interaction.
Can I spawn Stickers from UI buttons?
Yes. StickerSpawner includes UnityEvent-friendly Spawn methods specifically for runtime palettes and UI buttons.
Do I need the StickerBuilder in a player build?
No. Build/sync the prefab in the Editor, then use the resulting runtime components in your player.
If the issue remains: reproduce it with one Sticker in a small scene. Include your Unity version, render pipeline, target platform, Console message, Profile settings and the steps that reproduce the issue. For alignment problems, include the front and back import settings and a screenshot of the hierarchy.