setCurrentCostume

open override fun setCurrentCostume(costume: Model)

Sets the current costume of this sprite to the specified image. If the image is not already a costume of this sprite, it is added.

Parameters

costume

The image to set as the current costume.