On some systems, Storyboard Engine runs in a window. When running in a window there is specific behaviour for mouse or touch input leaving the screen. When leaving while pressed, Storyboard Engine will generate a gre.release event. When entering the window while pressed, Storyboard Engine will generate a gre.press event. Entering/leaving a window will not generate events if there are no mouse buttons pressed down.