В момента ресурсът е наличен само на английски

How to use Absolute Value in LEGO SPIKE Prime Word Blocks Software Pro Preview

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

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео

Абонирай се

  • #2509
  • 16 Sep 2025

The Absolute Value is part of the Functions block, which is the last block in the green Operators palette.

content picture

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.

Курсове и занятия включващи този Урок

Този Урок е използван в следните курсове и занятия.

Image for Level C1 - Musical Instruments - Robotics with LEGO SPIKE Prime
  • 23
  • 1:03
  • 68
Image for Lesson 3 - Violin
  • 3
  • 4
  • 9
  • 3d_rotation 1