UNPKG

@petkoneo/phaser3-rex-plugins

Version:
9 lines (6 loc) 251 B
import { GetDisplayHeight } from '../../size/GetDisplaySize.js'; var GetBottom = function (gameObject) { var height = GetDisplayHeight(gameObject); return (gameObject.y + height) - (height * gameObject.originY); }; export default GetBottom;