what's the difference between wait() and sleep() please?

Asked by Parn Yin

In some parts of the Sikuli documentation I saw sleep(1).
What's the difference between wait() and sleep() please?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

wait() can wait for an image, sleep() only pauses the given time.

... but wait(30) is the same as sleep(30).

Revision history for this message
Parn Yin (pyin) said :
#2

Thanks RaiMan, that solved my question.