メインコンテンツまでスキップ

Screen:find()

デバイス画面上で画像またはテキストの検索を行います。画像またはテキストが見つかった場合は MatchResult を返し、見つからない場合は nil を返します。

シグネチャ

Screen:find(template: string): MatchResult | nil
Screen:find(template: string, params: FinderParams): MatchResult | nil
Screen:find(template: string, timeout: number, params: FinderParams): MatchResult | nil

戻り値

MatchResult または nil