# StyleQuery(ロブロックス クラス) > Instance used to set conditions such as "MaxSize" and "PreferredInput" for a StyleRule. - URL:https://roblox.minecraft-okinawa.com/reference/classes/StyleQuery/ - 公式:https://create.roblox.com/docs/reference/engine/classes/StyleQuery - 受け継いでいるクラス:Instance ## プロパティ - `StyleQuery.IsActive: boolean`:A boolean that determines whether a StyleRule.Selector of @ will match the StyleQuery name. ## メソッド - `StyleQuery:GetCondition(name: string): Variant`:Returns the value of a specific condition in the StyleQuery. - `StyleQuery:GetConditions(): Dictionary`:Returns a dictionary of key-value pairs describing the conditoins set on the StyleQuery. - `StyleQuery:SetCondition(name: string, value: Variant): ()`: - `StyleQuery:SetConditions(conditions: Dictionary): ()`:Lets you declare and set multiple conditions of the StyleQuery at once. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)