Skip to content

Commit ca752cc

Browse files
committed
jsdoc updates.
1 parent a190823 commit ca752cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/input/InputHandler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Phaser.InputHandler = function (sprite) {
125125
/**
126126
* Set to true to use pixel perfect hit detection when checking if the pointer is over this Sprite.
127127
* The x/y coordinates of the pointer are tested against the image in combination with the InputHandler.pixelPerfectAlpha value.
128+
* This feature only works for display objects with image based textures such as Sprites. It won't work on BitmapText or Rope.
128129
* Warning: This is expensive, especially on mobile (where it's not even needed!) so only enable if required. Also see the less-expensive InputHandler.pixelPerfectClick.
129130
* @property {boolean} pixelPerfectOver - Use a pixel perfect check when testing for pointer over.
130131
* @default
@@ -134,6 +135,7 @@ Phaser.InputHandler = function (sprite) {
134135
/**
135136
* Set to true to use pixel perfect hit detection when checking if the pointer is over this Sprite when it's clicked or touched.
136137
* The x/y coordinates of the pointer are tested against the image in combination with the InputHandler.pixelPerfectAlpha value.
138+
* This feature only works for display objects with image based textures such as Sprites. It won't work on BitmapText or Rope.
137139
* Warning: This is expensive so only enable if you really need it.
138140
* @property {boolean} pixelPerfectClick - Use a pixel perfect check when testing for clicks or touches on the Sprite.
139141
* @default

0 commit comments

Comments
 (0)