Store variable values and data sets (lists) for use during a program, 11 blocks in total: create variable, Set [variable] to [value], change [variable] by [value], create List, delete [n] of [list] / delete all, insert [thing] at [n] of [list], etc., with their functions, conditions and usage examples
AI-generated conceptual illustration; not a screenshot or a confirmed supported device model
Store variable values and data sets (lists) for use during a program
Create variable
Give the variable a meaningful name
ConditionsProvides 3 kinds of block: get value / Set / change value
ExampleCreate a variable 'obstacle count'
Set [variable] to [value]
Set the initial value
ConditionsAccepts a number, a variable or a value from another variable (not a list)
ExampleSet count to 0
change [variable] by [value]
Increase/decrease the value
Examplechange count by 1 every time an obstacle is detected
Create List
Create a data set holding multiple values
ConditionsA variable holds a single value, a list holds multiple values; they are not interchangeable
delete [n] of [list] / delete all
Delete the item at position n or delete all
insert [thing] at [n] of [list]
Insert data at position n
replace item [n] of [list] with [thing]
Replace data
item [n] of [list]
Get the data at position n
item # of [thing] in [list]
Find the position of a specified value in the list
length of [list]
Count the number of items in the list
ExampleMore than 3 items → turn on the light
[list] contains [thing]?
Check whether this value is in the list
ConditionsReturns True/False
Examplelist contains "D" → turn on the light
ReferenceParaphrased and categorised from the Hula User Manual (HighGreat) to fit the theme and icon set of this knowledge base, parameter information and limitations follow the user manual; please verify against the app version you actually use
How to cite this page
Drone Institute, Rangsit University. (2026). Variables. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/hula/variables/