Phaser API Documentation

  Version: 
transformOnly: boolean

Description:

By default a DOM Element will have its transform, display, opacity, zIndex and blend mode properties updated when its rendered. If, for some reason, you don't want any of these changed other than the CSS transform, then set this flag to true. When true only the CSS Transform is applied and it's up to you to keep track of and set the other properties as required.

This can be handy if, for example, you've a nested DOM Element and you don't want the opacity to be picked-up by any of its children.

Type:
boolean
Since: 3.17.0