UNPKG

phaser4-rex-plugins

Version:
8 lines (7 loc) 367 B
// import * as Phaser from 'phaser'; export default function IsPointerInBounds( gameObject: Phaser.GameObjects.GameObject, pointer?: Phaser.Input.Pointer, preTest?: (gameObject: Phaser.GameObjects.GameObject, x: number, y: number) => boolean, postTest?: (gameObject: Phaser.GameObjects.GameObject, x: number, y: number) => boolean, ): boolean;