Skip to content

A sorting puzzle

Updated

Two Snap Zones that take every swatch, and a script that counts on each change how many swatches sit in the zone their name matches.

Drag the warm swatches into the left frame and the cool ones into the right. Scroll to zoom.

A sorting puzzle

The script is explained step by step in A sorting puzzle.

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

SortingPuzzle.xrproj