Skip to main content

Settings:setImagePath()

Set the folder where captured image templates are stored.

Signature​

Settings:setImagePath(path: string): void

Parameters​

ParameterTypeDescription
pathstringAbsolute path to a folder

Returns

void

Description​

Template-based methods such as Screen:find() and Screen:click() look up image names in this folder. Use Settings:getImagePath() to read the current value.