Change size of player with code

How can you use the size block to change the size of the player?

There already is one in the properties tab