Phaser API Documentation

  Version: 
resizeArrays(newSize)

Description:

Resizes all of the internal arrays: vertices, uv, colors and alphas to the new given Rope segment total.

Parameters:

name type description
newSize number

The amount of segments to split the Rope in to.

Returns:
Description:

This Game Object instance.

Since: 3.23.0