You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/input/InputPlugin.js
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1361,6 +1361,7 @@ var InputPlugin = new Class({
1361
1361
* @property {function} [hitAreaCallback] - The callback that determines if the pointer is within the Hit Area shape or not.
1362
1362
* @property {boolean} [draggable=false] - If `true` the Interactive Object will be set to be draggable and emit drag events.
1363
1363
* @property {boolean} [dropZone=false] - If `true` the Interactive Object will be set to be a drop zone for draggable objects.
1364
+
* @property {boolean} [useHandCursor=false] - If `true` the Interactive Object will set the `pointer` hand cursor when a pointer is over it. This is a short-cut for setting `cursor: 'pointer'`.
1364
1365
* @property {string} [cursor] - The CSS string to be used when the cursor is over this Interactive Object.
1365
1366
* @property {boolean} [pixelPerfect=false] - If `true` the a pixel perfect function will be set for the hit area callback. Only works with texture based Game Objects.
1366
1367
* @property {integer} [alphaTolerance=1] - If `pixelPerfect` is set, this is the alpha tolerance threshold value used in the callback.
@@ -1415,6 +1416,7 @@ var InputPlugin = new Class({
0 commit comments