If you get 4 points...
For advanced projects, you can use trigonometric functions to perform calculations involving angles. Scratch supports functions for sine, which are useful for solving triangles using the Law of Sines. Here's an example of how to implement the Law of Sines to find an unknown side of a triangle:
when green flag clicked
set [angle A v] to (30)
set [angle B v] to (45)
set [side a v] to (10)
set [side b v] to ((side a)*(([sin v] of (angle A))/([sin v] of (angle B))))
say (join [Side b is ] (side b)) for (3) secs
In this example, the program calculates the length of side 'b' of a triangle using the Law of Sines: (a/sin A) = (b/sin B). Given angle A, angle B, and side a, the length of side b is computed and displayed. This demonstrates the use of the sine function to solve problems involving triangles.