# ScrollingFrame(ロブロックス クラス) > ScrollingFrame is a special Frame type with built-in scrolling interactivity and different ways to customize how the scrolling works. - URL:https://roblox.minecraft-okinawa.com/reference/classes/ScrollingFrame/ - 公式:https://create.roblox.com/docs/reference/engine/classes/ScrollingFrame - 受け継いでいるクラス:GuiObject ## プロパティ - `ScrollingFrame.AbsoluteCanvasSize: Vector2`:The size of the area that is scrollable, in offsets. - `ScrollingFrame.AbsoluteWindowSize: Vector2`:The size of the frame, in offsets, without the scroll bars. - `ScrollingFrame.AutomaticCanvasSize: AutomaticSize`:Determines whether ScrollingFrame.CanvasSize is resized based on child content. - `ScrollingFrame.BottomImage: ContentId`:Image that displays on the bottom of a vertical scroll bar, or the right of a horizontal scroll bar (rotated 90° counterclockwise for a horizontal scroll bar). - `ScrollingFrame.BottomImageContent: Content`:The Content-typed equivalent of Class.ScrollingFrame.BottomImage|BottomImage. - `ScrollingFrame.CanvasPosition: Vector2`:Reflects the **current** positional offset of the canvas within the frame, in pixels, and sets the position of scroll bars accordingly. - `ScrollingFrame.CanvasSize: UDim2`:Determines the size of the scrollable area. - `ScrollingFrame.ElasticBehavior: ElasticBehavior`:Determines if and when elastic scrolling is allowed on touch‑enabled devices. - `ScrollingFrame.HorizontalScrollBarInset: ScrollBarInset`:Indicates whether Class.ScrollingFrame.CanvasSize|CanvasSize is inset by Class.ScrollingFrame.ScrollBarThickness|ScrollBarThickness on the horizontal axis. - `ScrollingFrame.MidImage: ContentId`:Image which spans the area between Class.ScrollingFrame.TopImage|TopImage and Class.ScrollingFrame.BottomImage|BottomImage (rotated 90° counterclockwise for a horizontal scroll bar). - `ScrollingFrame.MidImageContent: Content`:The Content-typed equivalent of Class.ScrollingFrame.MidImage|MidImage. - `ScrollingFrame.ScrollBarImageColor3: Color3`:Determines how the rendered scroll bar images are colorized. - `ScrollingFrame.ScrollBarImageTransparency: float`:Determines the opacity of the scroll bar images. - `ScrollingFrame.ScrollBarThickness: int`:Thickness of the scroll bar in pixels; applies to both horizontal and vertical scroll bars. - `ScrollingFrame.ScrollingDirection: ScrollingDirection`:Determines the direction(s) in which scrolling is allowed. - `ScrollingFrame.ScrollingEnabled: boolean`:Determines whether scrolling is allowed on the frame. - `ScrollingFrame.TopImage: ContentId`:Image which displays on the top of a vertical scroll bar, or the left of a horizontal scroll bar (rotated 90° counterclockwise for a horizontal scroll bar). - `ScrollingFrame.TopImageContent: Content`:The Content-typed equivalent of Class.ScrollingFrame.TopImage|TopImage. - `ScrollingFrame.VerticalScrollBarInset: ScrollBarInset`:Indicates whether Class.ScrollingFrame.CanvasSize|CanvasSize is inset by Class.ScrollingFrame.ScrollBarThickness|ScrollBarThickness on the vertical axis. - `ScrollingFrame.VerticalScrollBarPosition: VerticalScrollBarPosition`:Indicates whether the vertical scroll bar is positioned to the left or right of the canvas. ## メソッド - `ScrollingFrame:GetScrollVelocity(): Vector2`:Returns a Vector2 representing the current inertial scroll velocity after the user stops their input. - `ScrollingFrame:ResetScrollVelocity(): ()`:Resets the inertial scroll velocity of the ScrollingFrame to 0 on both axes. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)