When you cast this spell, you hide a magical trap that can cover a creature in webbing when triggered. When you cast this spell, choose a 5-foot surface that cannot be moved (such as a floor, wall, or ceiling) to place the trap upon. The glyph is nearly invisible, requiring a successful Intelligence (Investigation) check against your spell save DC to be found.
When a creature comes within 5 feet of a trap cast on the floor, within 15 feet of it horizontally (measuring perpendicular to the wall) when cast on a wall, or within 5 feet of a 30-foot space beneath it if cast on a ceiling, the trap triggers. The creature that triggered the trap and any creatures within 10 feet of them that have line of sight on the trap must make a Deterity saving throw. On a failed save, a creature falls prone and is blinded and restrained for 1 hour, or until another creature uses its action to remove the webbing.
Any creature that succeeds on the saving throw is blinded until it uses an action to remove the webbing from its eyes.
When you cast the spell, you can specify certain creatures that the trap will ignore, or cause it to only trigger on certain creatures.