Why does my program return the error, Cannot find a class or type named “Robot”?

why does my program return the error, Cannot find a class or type named “Robot”?

1 Like

simply add this include statement at top of your sketch code.

import java.awt.Robot;

Please always show your code

1 Like