<p>Looking at this site:
<a href="https://legoboost.blogger.de/stories/2709388/" rel="nofollow noreferrer">https://legoboost.blogger.de/stories/2709388/</a></p>

<p>It is in German but I think this picture:<br/>
<a href="https://i.sstatic.net/oBcoC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oBcoC.png" alt="https://cdn.blogger.de/static/antville/legoboost/images/einstellungprogrammierbloecke.png"></a>
<br/>
is the important one.</p>

<p>After these settings you have a global value in the white program block.</p>

CC BY-SA 4.0
2018-12-26T07:01:15.960Z
2018-12-28T21:01:45.760Z
2018-12-28T21:01:45.760Z
woiddale
<p>I'm trying to program steering for a Logo Boost Model. Motor B spins a certain angle and the steering works. To get it running the model - the app - needs to know the current position of the wheels in order to spin the motor correctly. I created several macros where i decide on, and set, a variable. I initialize the model by setting the variable in the main screen of the program interface. But if I go into my steering macros this variable is not known. Instead I can set the variable within. It means, I cannot have a global variable which can be read and set from within macros?</p>

<p>Can anybody clarify or elaborate this?</p>

<boost>
Lego Boost Variable setting
Andreas
# Lego Boost Variable setting

(Asked by: username_0 on 2018-01-06)

I'm trying to program steering for a Logo Boost Model. Motor B spins a certain angle and the steering works. To get it running the model - the app - needs to know the current position of the wheels in order to spin the motor correctly. I created several macros where i decide on, and set, a variable. I initialize the model by setting the variable in the main screen of the program interface. But if I go into my steering macros this variable is not known. Instead I can set the variable within. It means, I cannot have a global variable which can be read and set from within macros?

Can anybody clarify or elaborate this?

**Tags:** boost


---

## 1 answers

### Answer by username_1 on 2018-12-26. Score: 2

Looking at this site:
<https://legoboost.blogger.de/stories/2709388/>

It is in German but I think this picture:  
[![https://cdn.blogger.de/static/antville/legoboost/images/einstellungprogrammierbloecke.png](https://i.sstatic.net/oBcoC.png)](https://i.sstatic.net/oBcoC.png)
  
is the important one.

After these settings you have a global value in the white program block.


---

