How do we use CreativeAnimation in Verse?

Is CreativeAnimation not useable through Verse yet?

Getting this error
This invocation calls a function that has the ‘suspends’ effect, which is not allowed by its context.(3512)
This function parameter expects a value of type tuple(creative_prop,tuple(),vector3,rotation,float), but this argument is an incompatible value of type tuple(tuple(?creative_prop,spawn_prop_result),tuple(),vector3,rotation,float).(3509)

I also tried using CreativeAnimation as an editable variable but it was saying “unexpected type” or something to that effect.

Apologies for the necro, but did you ever solve this problem?

I’m hitting it in UEFN trying to use MoveTo on a Button.InteractedWithEvent and this seems to be the only relevant thread!

I have just worked it out. We have to use
spawn:
to commence any async operation without this error message.

So in my case:

OpenDoor(InPlayer:agent):void=
    spawn:
        SlideDoorOpen()

SlideDoorOpen()<suspends>:void
    Door.MoveTo(DoorOpenPosition, DoorOpenRotation, 2.0)
3 Likes