Great tactic to try with kids who keep popping out of their rooms at bedtime. Like all such things, it takes a steely resolve by you, the parent, to pull off, but setting visible limits like this makes a lot of sense. I wonder if using glow-in-the-dark tape would help or hurt the process?
Prudent Baby via Parent Hacks.