Yes. You need to use the random() expression, you would use it like this: round(random(2,4))
The round expression will round a number, so if you get 4.2, it will show 4. More on: https://www.scirra.com/tutorials/77/nat ... onstruct-2
You should create an action at layout start to set the instance variable for the blocks to round(random(2,4))
Modify the numbers as you see fit.