Set picture angle from Variable.

Is there any way to set a pictures angle based on a variable? I would think you would have to use some sort of script but also I dont know how to use scripts, any help?
$gameScreen.picture(id)._angle = value
Replace id with the picture id, and value with the rotation you want to set it to (in degrees).

Original thread: https://forums.rpgmakerweb.com/threads/set-picture-angle-from-variable.177100/