UNPKG

@phaserjs/phaser

Version:
8 lines (7 loc) 173 B
export function AddScale(scaleX, scaleY, ...children) { children.forEach((child) => { child.scale.x += scaleX; child.scale.y += scaleY; }); return children; }