the code to have friction | ScratchStats