* function callback for the pointerEnter event * @ignore
(event: Pointer)
| 132 | * @ignore |
| 133 | */ |
| 134 | enter(event: Pointer): void { |
| 135 | this.hover = true; |
| 136 | this.isDirty = true; |
| 137 | if (this.isDraggable) { |
| 138 | // eslint-disable-next-line @typescript-eslint/unbound-method |
| 139 | on(POINTERMOVE, this.pointerMove, this); |
| 140 | // to memorize where we grab the object |
| 141 | this.grabOffset = vector2dPool.get(0, 0); |
| 142 | } |
| 143 | this.onOver(event); |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * pointermove function |
no test coverage detected