Screen:find()
To perform image or text search in your device screen, if the image or text is found return the MatchResult
else return 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
Returns
MatchResult
or nil