phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
37.16k stars 7.1k forks source link

Docs: clarify `moveAbove()`, `moveBelow()` #6896

Closed samme closed 2 months ago

samme commented 2 months ago

This PR

It's not well known that these methods move the target only if it's not already above/below the base.

photonstorm commented 2 months ago

👍