Just press the green flag and choose one of the two option: either to generate prime numbers (generates numbers below the one you type; beware with long numbers, it may take a while) or to check if a number is prime (generally faster).
I did it all by myself (I'm RiceStrangerRanger9000). I must thank, however, to Cykeja1234, as he explained me that boolean blocks can be used inside circle blocks and return 0 and 1, thing which I found really useful. This project was made thanks to a coding challenge. First version - 28/2/2022 23:48 UTC-3 - Generation system worked completely, however was a bit unpractical and didn't detect 1, 2 and 5 Second version - 2/3/2022 0:32 UTC-3 - Generation system now works perfectly. Checking if a number is prime or not also works perfectly. Published online on Scratch. 1:17 UTC-3 - Fixed some few bugs (if chosen numbers were strings, the project would crash in the Checking option, in the Generating option it would give a wrong warning text and in both if the number was below 1 only 1 was added to the prime numbers list)