Frame
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
A plain box with a background, rounded corners, an outline and a soft shadow, for cards, panels, pills and popups.
Corners, outline and shadow are properties of the Frame itself, drawn together as one shape, with no extra objects to add. CornerRadius and StrokeThickness scale with the box's height, so 0.5 makes a pill and the outline keeps its weight at any size. Leave StrokeColor nil and the outline is the background colour shaded toward black.
Made with Instance.new("Frame") or Clone().
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| BackgroundColor | Color3 | ||
| BackgroundTransparency | number | ||
| CornerRadius | UDim | Scale is a fraction of the box's height, so 0.5 makes a pill; offset is in pixels. | |
| StrokeColor | Color3? | The outline colour; nil derives it from BackgroundColor, shaded toward black. | |
| StrokeThickness | UDim | The outline's width, a scale of the box's height plus pixels; 0 means no outline. | |
| StrokeTransparency | number | ||
| ShadowSize | UDim | A soft drop shadow for cards and popups; 0 means no shadow. | |
| ShadowOffset | Vector2 | ||
| ShadowColor | Color3 | ||
| ShadowTransparency | number |
From UIObject 19
From ScreenItem 2
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
Subclasses
