How to make this type of gui button

I saw this type of GUI button in a game but don’t know how to make it

image

5 Likes

Hello Philipceo90, I have made this GUI button for you

Sorry but I’m not really good at making GUIs but i hope this is enough

2 Likes

You could use tweening to make it slide instead of having it instant.

1 Like

How did you create this? Can you show me a picture of the gui and the guis inside

1 Like

why are you changing the rotation

Because it takes more time and it’s harder if I have to cut the white circle out and I’m also kinda bad when it has to do with GUIs but I can try making so it slides instead if you want, but I’m not sure if I’m good enough

1 Like

You can make the background of the button in an art program, and make the circle and tween it to side to side when clicked

Yeah i’m gonna try using a art program

Just make a frame with a uicorner to make it round. Easiest way to separate the circle.

1 Like

I’m done with the editing but now I just need to code it but I’ll do that tomorrow because it’s very late

Hello, @Philipceo90 I’m done with the new toggle button here is the code:

1 Like

And this is how it looks like:

1 Like

what software did you use? and how does it animate

 Circle:TweenPostion(POSITION OF THE END)
wait(0.7)
BackgroundGreenFrame.Visible = true

or something

Here take it, i dont need it, you can change the colors if you want to also.
guistuff.rbxl (33.4 KB)
(this is kind of broken but its an easy fix)

2 Likes

@Philipceo90 I used photopea, and if you check the 19-second long video you can see all of the code

So you used photopea to make the background?

1 Like