Sets the animation to manipulate a particular child member of its target. Specifies the key value of a member of the animation's target on which the animation will act. It is the Lua equivalent of the targetKey attribute use in animation elements.

Signature:

Animation:SetTargetKey(key)

Arguments:

  • key - valid table key of the target member on which this animation will be applied.