UNPKG

@petkoneo/phaser3-rex-plugins

Version:
9 lines (6 loc) 221 B
import { GetDisplayWidth } from '../../size/GetDisplaySize.js'; var GetOffsetX = function (gameObject) { var width = GetDisplayWidth(gameObject); return width * gameObject.originX; }; export default GetOffsetX;