Mouse Jiggler MJ-1 The Mouse Jiggler is available in two models: The MJ-1 generates constant and nearly imperceptible mouse movement so that users can continue to work while the device is attached. The key press simulator 'Mouse Jiggle' eliminates the problem. Unlike many keystroke simulators, this one does not 'press' a button, but moves the mouse. This allows the system to detect your activity, even though you have not touched the mouse for several minutes. Thus, the screen saver is not triggered.
Command+Space and type Terminal and press enter/return key.ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/nullbrew cask install jiggler

Done! You can now use Jiggler.