Exposing variable to write directly


Can i somehow expose a variable to input a specific value.
If you see the image, the top function allows for direct input into “Amount”, where the bottom one needs a “Literal Int” to give an input.

It seems to allow for it at random when i create a function, or is it something that i am doing wrong?