Region():find()
To perform image or text search in the region, if the image or text is found return the MatchResult
else return nil
Signature
find(template: string): MatchResult | nil
find(template: string, params: FinderParams): MatchResult | nil
find(template: string, timeout: number, params: FinderParams): MatchResult | nil
Returns
MatchResult
or nil