SpineSprite:setAttachment

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2018.12
Class: SpineSprite

Description

Set attachment <syntaxhighlight lang="lua"> (boolean) = SpineSprite:setAttachment(slot,attachment) </source>

Parameters

slot: (string) Slot name
attachment: (string) Attachment name

Return values

Returns (boolean) True if the specified slot was found and attachment was set