Skip to content

Commit

Permalink
update Open Source Docs from Roblox internal teams
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx-open-source-docs[bot] committed Aug 16, 2024
1 parent 7d86fdc commit 7ad9058
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions content/en-us/studio/beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,25 @@ The following beta features are currently available to all users through Studio'
</CardContent>
</Card>

<Card variant="outlined" style={{height: '100%'}}>
<CardContent style={{paddingBottom: '0px'}}>
<Button href="https://create.roblox.com/docs/ui/ui-drag-detectors" size="large" color="primaryBrand" variant="outlined" fullWidth>UIDragDetectors</Button>
<p></p>
<CardMedia component="video" controls src="../assets/ui/ui-drag-detectors/Showcase.mp4" />
<p></p>
<figcaption>Enables click-drag-release interactions for UI elements.</figcaption>
<p></p>
<BetaAlert betaName="UIDragDetectors" leadIn="" leadOut="" components={props.components} />
</CardContent>
</Card>

<Card variant="outlined" style={{height: '100%'}}>
<CardContent style={{paddingBottom: '0px'}}>
<Button href="https://devforum.roblox.com/t/studio-beta-for-experience-controls-available-now/2567355" size="large" color="primaryBrand" variant="outlined" fullWidth>Updated Roblox Controls</Button>
<p></p>
<CardMedia component="img" image="../assets/studio/beta/Roblox-Controls.jpg" />
<p></p>
<figcaption>Enables a modernized Roblox menu and related APIs for seamless UI placement of key system controls.</figcaption>
<figcaption>Enables a modernized Roblox menu and related APIs.</figcaption>
<p></p>
<BetaAlert betaName="Updated Roblox Controls" leadIn="" leadOut="" components={props.components} />
</CardContent>
Expand All @@ -208,7 +220,7 @@ The following beta features are currently available to all users through Studio'
<p></p>
<CardMedia component="img" image="../assets/studio/beta/Video-Uploads.png" />
<p></p>
<figcaption>Enables video uploads through the [Asset Manager](../projects/assets/manager.md) for eligible users.</figcaption>
<figcaption>Enables video uploads through the [Asset Manager](../projects/assets/manager.md).</figcaption>
<p></p>
<BetaAlert betaName="Video Uploads" leadIn="" leadOut="" components={props.components} />
</CardContent>
Expand Down
4 changes: 4 additions & 0 deletions content/en-us/ui/ui-drag-detectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: UI Drag Detectors
description: UI drag detectors facilitate and encourage interaction with 2D user interface elements in an experience, such as sliders and spinners.
---

import BetaAlert from '../includes/beta-features/beta-alert.md'

<BetaAlert betaName="UIDragDetectors" leadIn="This feature is currently in beta. Enable it through " leadOut="." components={props.components} />

The `Class.UIDragDetector` instance facilitates and encourages interaction with 2D user interface elements in an experience, such as sliders, spinners, and more. Key features include:

- Place a `Class.UIDragDetector` under any `Class.GuiObject` instance to make it draggable via all user inputs without a single line of code.
Expand Down

0 comments on commit 7ad9058

Please sign in to comment.