whats the best solution to write that in lite-c?

blitz_1 is a panel, which should tremble a bit:

blitz_1.pos_x = int(random(2));
blitz_1.pos_y = int(random(2));