so, I was making the sum of block in mathematics. but how do you make that in makecode cause I I’m confused how to make sum of into a block.
here’s the code:
//% block="Sum of $index|from $num|to $num2| with block input"
//% draggableParameters
export function Sumof(num: number, num2: number, num3: number, handler: (index: number) => void) {
return handler;
}