Phaser API Documentation

  Version: 
setSizeToFrame()

Description:

This method is included but does nothing for the Nine Slice Game Object, because the size of the object isn't based on the texture frame.

You should not call this method.

Returns:
Description:

This Game Object instance.

Since: 3.60.0