How do I tween UI size with Roact?

  1. What do you want to achieve?

  2. What is the issue?
    I don’t know how to tween my UI’s size/position with Roact.

  3. What solutions have you tried so far?

1 Like

I still don’t know how. Please help.

I am unsure what you mean.

Do you just want to tween a UIs size

I need to do it with Roact. I forgot to add that for some reason.

1 Like

not super sure on roact but I think this should help: Roact: The Ultimate UI Framework

The answer is simple, do not use Roact LUL

It didn’t help. It doesn’t mention tweening in the Roact documentation either.

You can use something like Flipper to create a motor and then create a binding that updates the UI’s position with every motor step. Then just set the motor goal to start the animation.

How do I install it with Rojo.

Just clone the Git repository and copy the files into the game repository. If you don’t use Git or Rojo just download the .rbxm file in the releases and import it into Studio.

Yeah, but where do I put the module…


Okay, that’s what I though but I wanted to make sure. I have never heard of Flipper before this. Also, your Roact YouTube video was VERY helpful with introducing me to Roact a while back.

The Roact binding that uses Flipper is returning an error when using :map. It says:

attempt to  index nil with 'map'

What do you mean by that? I don’t understand.