How to make a selected portion of your screen visible

I’ve discovered something in studio just recently on accident.

You can now make a portion of a screen visible, using only one frame, and that’s by using UIStrokes.

This is a very inefficient method, but it works pretty nicely, and I think you should try it.

Step 1:
Create a regular Frame inside a ScreenGui, and put it in the middle of the screen.

Step 2:
Make the frame invisible by setting the BackgroundTransparency to 1. Do not set the Visible property to false, just set the transparency.

Step 3:
Create a new UIStroke inside that Frame, and then set the Thickness property to an absurd number, minimum 50000.

I have a video making this explanation more clearer, showing what happens when you make the stroke thickness huge, that frame will become the only portion of the screen that’s visible:


You can see the stroke growing to a huge number, and now that frame is visible on-screen only.

Hope you find this useful?

12 Likes

First thing that game looks pretty awesome and second thanks for that announcement that will help me alot.

1 Like

this is quite neat, thanks for sharing

1 Like