LITERALLY what the code says: if tounching = 1, switch costume to happy, else, switch costume to sad like, actually. if you dont know what that code does, it basically just means ur dumb lol. just kidding. it basically means that if youre touching the game screen, it sets a variable named tounching (yes i misspelled it, who cares) to 1, but if youre not touching it it sets the variable to 0. like a boolean type thing. then, the text sprite (what youre seeing on screen) reads that variable and sets its costume to happy if it equals 1, and sad if it equals 0.
it took me 5ish minutes to make this, and it probably wouldve took me less if i hadnt tried finding those weird ahh emojis.