Phaser API Documentation

  Version: 
pointerEvents: string

Description:

Sets the CSS pointerEvents attribute on the DOM Element during rendering.

This is 'auto' by default. Changing it may have unintended side-effects with internal Phaser input handling, such as dragging, so only change this if you understand the implications.

Type:
string
Since: 3.55.0