Screen:find()
Pour effectuer une recherche d'image ou de texte dans l'écran de votre appareil. Si l'image ou le texte est trouvé, retourne un MatchResult
, sinon retourne nil
Signature
Screen:find(template: string): MatchResult | nil
Screen:find(template: string, params: FinderParams): MatchResult | nil
Screen:find(template: string, timeout: number, params: FinderParams): MatchResult | nil
Retourne
MatchResult
ou nil