works with resizing, moving, turning, and costume changes