It is part of the Functions block, but what does it do?

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео
- #2509
- 16 Sep 2025
- LEGO Education SPIKE Prime
- LEGO Education SPIKE App Word Blocks 3, LEGO Education SPIKE App Word Blocks - Scratch
The Absolute Value is part of the Functions block, which is the last block in the green Operators palette.
The Functions block contains many different functions. It has two inputs: the function you want to use and the value you want to apply it to. For this tutorial, we will focus on abs()
, or absolute value. This function returns the value of a number without its sign—negative numbers become positive, and positive numbers stay positive. In the example image, the movement speed would be set to 50 instead of -50.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.

Level C1 - Musical Instruments - Robotics with LEGO SPIKE Prime
This is the fifth level of the LEGO Robotics Curriculum, designed for students in second, third, or fourth grade.
Musical Instruments Level: Each lesson has a theme connected to music and instruments. Students explore Pitch, Volume, and Duration of sounds, as well as how to read and program musical notes on the SPIKE Prime hub. Many new blocks are introduced, building on the students’ existing knowledge.
- 23
- 1:03
- 68

Lesson 3 - Violin
Introduction
In this lesson, we will make a violin robot! Have you seen a violin?
The violin originated in northern Italy in the early 16th century, evolving from earlier bowed instruments such as the lira da braccio. Pioneering makers like Andrea Amati - and later the Stradivari and Guarneri families - refined its design and set the standard for the modern violin. By the 17th and 18th centuries, the instrument had become central to both orchestral and solo music across Europe. Today, the violin remains one of the most popular and versatile instruments, seamlessly bridging classical traditions with folk, jazz, and contemporary music worldwide.
- 3
- 4
- 9
- 3d_rotation 1