Microsoft MakeCode

Variables in Blocks

I’ve been trying to place variables inside a block so they would appear with the functions but I’m not sure how to get it to work. Can anyone help me out?

Welcome, @supershook!

Can you explain what you are trying to attempt more clearly? Are you trying to make local variables? Or are you trying to have parameters to your functions?

I’m trying to make local variables that can be dragged into the workspace for various uses. Is that something that can be done?

1 Like

Sadly, local variables can’t be created by the user yet.

1 Like

okay, thanks for letting me know!

1 Like