ButtonStim setSize and setPos not working in code

I have 4 buttons in the builder but I’m trying to change the size and position of these button based on a number. However, whenever I try to set the size and position I get the error:
File “C:\Users\SAT\Desktop\PsychoPy\Search Task\search_task_lastrun.py”, line 684, in
button_2.setSize(0.5,0.4)
File “C:\Users\SAT\DevTools\PsychoPy\lib\site-packages\psychopy\visual\basevisual.py”, line 1795, in setSize
setAttribute(self, ‘size’, val2array(newSize, False), log, operation)
File “C:\Users\SAT\DevTools\PsychoPy\lib\site-packages\psychopy\tools\attributetools.py”, line 115, in setAttribute
raise ValueError(msg % vals)
ValueError: Unsupported value “0.4” for operation when setting size in ButtonStim
################ Experiment ended with exit code 1 [pid:14212] #################
4729.7487 INFO Loaded monitor calibration from [‘2023_01_07 12:08’]

Here is my code:
if(Number == 4):
button_1.setSize([0.5,0.4])
button_1.setPos([-0.25,0.2])
button_2.setSize(0.5,0.4)
button_2.setPos(0.25,0.2)
button_3.setSize(0.5,0.4)
button_3.setPos(-0.25,-0.2)
button_4.setSize(0.5,0.4)
button_4.setPos(0.25,-0.2)

Hello,

you forgot some square brackets, button_2.setSize aso.

Best wishes Jens