You can try help() to see the full rabbit hole of what you can do or you can try
dofile("../scripts/tests/set_player_control.lua")
which was made as a sort of demo. Thanks for notifying me about the window size issues.
My screen is 1366x768, by the way.