← Back to examples

Floating Window Example

Scroll down the page to see the player shrink and float in the corner.

Example Code

Scroll down to test...

As you scroll down and the main player leaves the viewport, it will automatically float into the corner so you can keep watching.