hello! I am currently trying to make a script that can find a property (specifically TimePosition) through an object value.
script.AnimTimePosition.Value = script.CurrentAnim.Value.TimePosition -- gives error
hello! I am currently trying to make a script that can find a property (specifically TimePosition) through an object value.
script.AnimTimePosition.Value = script.CurrentAnim.Value.TimePosition -- gives error
is TimePosition an attribute of āValueā?
If yes, use GetAttribute
What exactly are you trying to do, also whats the error. Also, Iām not sure if this is why but try:
script.AnimTimePosition.Value = script.CurrentAnim.TimePosition.Value
as you mentioned Value before TimePosition
Whatās the error? You havenāt provided any details.
if script.CurrentAnim.Value then
Make sure CurrentAnim.Value isnāt ānilā.
I recently figured out a work around in this code. Thanks for the help though!