Moon Trap
Any creature that touches the glyph, except those you designate during the casting of the spell, must make a successful Wisdom saving throw or be drawn into an inescapable maze until the sun rises.
The glyph lasts until the next sunrise, at which time it flares with bright light, and any creature trapped inside returns to the space it last occupied, unharmed. If that space has become occupied or dangerous, the creature appears in the nearest safe unoccupied space.