the98phases the98phases loading

RokCoder wrote:

This is a better solution as it will always turn towards the player (as opposed to turning clockwise until it's in the right direction). Put a call to this custom block in the update script of your enemy so that it runs every frame

define Turn towards player
set [current direction v] to (direction)
point towards [player v]
set [target direction v] to (direction)
set [delta direction v] to (((((target direction) - (current direction)) + (180)) mod (360)) - (180))
if <([abs v] of (delta direction)) < (rotation speed)> then // rotation speed is the speed at which you want to turn towards the mouse pointer
point in direction (target direction)
else
point in direction ((current direction) + (((delta direction) / ([abs v] of (delta direction))) * (rotation speed)))
end

So i have a few questions. 1, Are these all open variables?
2, what should i do with the block? (example down here)
when green flag clicked
forever
point towards [ player]
move (var) steps
Then the custom block
end