Phaser API Documentation

  Version: 
setDirty()

Description:

Flags this Rope as being dirty. A dirty rope will recalculate all of its vertices data the next time it renders. You should set this rope as dirty if you update the points array directly.

Returns:
Description:

This Game Object instance.

Since: 3.23.0