2
0

📝 Add script block precision

This commit is contained in:
Baptiste Arnaud
2023-07-16 09:41:35 +02:00
parent 844832f310
commit 88e2f50d35
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Script block
The "Script" block allows you to execute Javascript code. If you want to set a variable value with Javascript, use the [Set variable block](./set-variable) instead.
The "Script" block allows you to execute Javascript code. If you want to set a variable value with Javascript, use the [Set variable block](./set-variable) instead. You can't set a variable with the script block.
**It doesn't allow you to create a custom visual block**

View File

@ -25,3 +25,7 @@ Natural recommendations resonate a lot more with me. My goal is to create the be
## How can I change my password
Typebot doesn't store any password. Its login works with Github, Google, Facebook and Magic link email.
## Can I set a variable with the Script block?
No, the script block is only meant to execute a script. You can't set a variable with/in it. If you need to set a variable with some code, you can use the [Set variable block](/editor/blocks/logic/set-variable).