# Operators Category

## 1. ( ) + ( ) Example: When you press the space key, the sprite reports the result of 1+2.

## 2. ( ) − ( )

Performs the mathematical operation subtraction. Example: When you press the space key, the sprite reports the result of 3-1.

## 3. ( ) * ( )

Performs the mathematical operation multiplication. Example: When you press the space key, the sprite reports the result of 2×3.

## 4. ( ) / ( )

Performs the mathematical operation division. Example: When you press the space key, the sprite reports the result of 6÷2.

## 5. pick random ( ) to ( )

Picks a number randomly from the specified range. Example: When you press the space key, the sprite says "Hello" in N seconds, where N is a random number ranging from 2 to 5.

## 6. ( ) > ( )

Executes the subsequent script if the value of the specified parameter is greater than the specified value. Example: When you press the space key, the sprite says "Too loud" if the loudness is greater than 60.

## 7. ( ) < ( )

Executes the subsequent script if the value of the specified parameter is smaller than the specified value. Example: When you press the space key, the sprite says "Too close" if it is less than 10 away from Jellyfish1.

## 8. ( ) = ( )

Executes the subsequent script if the value of the specified parameter is equal to the specified value. Example: When you press the space key, the sprite says "Nice" if the current year is 2019.

## 9. ( ) and ( )

Executes the subsequent script if the two specified conditions are met. Example: After you press the space key, the sprite moves forward 10 steps and moves to (0,0) if it comes into contact with a pinky Jellyfish1.

## 10. ( ) or ( )

Executes the subsequent script when one of the two specified conditions is met. Example: After you press the space key, the sprite moves forward 10 steps and moves to (0,0) if it touches the edge or Jellyfish1.

## 11. not ( )

Executes the subsequent script if the specified condition is not met. Example: After you press the space key, the sprite moves forward 10 steps and moves to the position (0,0) if it touches the edge of the stage.

## 12. join ( )( )

Combines two character strings. Example: When you press the space key, the sprite reports what year it is currently.

## 13. letter ( ) of ( )

Reports the specified character of the specified character string. Example: When you press the space key, the sprite reports the first character of apple.

## 14. length of ( )

Reports the length of the specified character string. Example: When you press the space key, the sprite reports the length of apple.

## 15. ( ) contains ( )?

Executes the subsequent script if the specified character string contains another one. Example: After you press the space key, the sprite asks about your favorite color. If your answer contains red, it plays the sound Clapping. Otherwise, it plays the sound Oops.

## 16. ( ) mod ( )

Reports the remainder (modulo operation) of two specified numbers. Example: When you press the space key, the sprite reports the remainder obtained after dividing 6 by 4.

## 17. round ( )

Rounds the number to the nearest integer. Example: When you press the space key, the sprite reports the rounded value of the timer.

## 18. ( ) of ( )

Reports the operation result of the specified number. Fifteen operations are available, including absolute value (abs), round down (floor), round up (ceiling), square root (sqrt), sin, cos, tan, asin, acos, atan, ln, log, e^, and 10^. Example: When you press the space key, the sprite reports the square root of 4.