Interactive Studio
back to documentation

Interactive Studio

Build no-code gameplay with tasks, triggers, effects, values, and player feedback.

Attach To Mouse

What it does

Attach To Mouse makes the selected item follow the local desktop pointer until Detach From Mouse runs.

Required item compatibility

Select the compatible placed item that should move.

Setup

  1. Select the item that should follow the pointer.
  2. Add Attach To Mouse to the task state where movement begins.
  3. Turn on Snap To Floor when the item should stay over placeable surfaces.
  4. Add Detach From Mouse to the state that releases the item.

Settings

Setting What it means
Snap To Floor Keeps the item over placeable floor-like surfaces while it follows the pointer.

Tiny example

Starting a placement activity makes a preview object follow the pointer until the player confirms its location.

Test and troubleshoot

  • Add a deliberate Detach From Mouse step; leaving the state does not release the item by itself.
  • Test over the actual floor and nearby geometry players will use.
  • If the item does not follow the pointer, confirm the effect is attached to that exact item.

Related pages