Power-ups levels and powers

Ok, but in the first image how did you do the first step with the purple link with a function?