Optocoupler on Tinkercad acting weird So, maybe it's my understanding that is at fault or maybe it's tinkercad. It's probably the former. But anyway here's my problem

I've connected it according to picture

https://imgur.com/a/h2HYgUE

There is no power going through the anode. The cathode is going to ground.
On the upper side 5v is going to base and the emitter sends signals to an input on pin 12.

If i digitalRead pin 12 and Serial.write it. it says 1. which is weird, least for my understanding.

As i understood there needs to be power going through the anode which lights up the diode inside the optocoupler. however there is no power going through the anode yet the emitter gives off a signal.

Anyone mind helping me out in understanding why this is?

Please ignore the resistors on the image
You connected 5V to the base of the transistor inside, so the transistor is turned on all the time. 

Move the 5v pin one to the right (middle pin on the 4N35, i.e. the collector), and it should work.