)visObjectFollowMouseExBehaviorBehaviorTemplate%templatefriendlyNameFollow Mouse ExbehaviorTypeInputdescriptionSet the object to follow the position of the mouse. This version can be restricted by world limits and will obey collisions.addBehaviorFieldfollowXFollow the mouse's X positionbool1followYFollow the mouse's Y positiontrackingSpeedThe rate at which the object will move toward the mousefloat15onBehaviorAddenableUpdateCallbackOwner%thisonUpdatesceneWindow2DgetMousePosition%mousePosPosition%positiont2dVectorSub%differencet2dVectorScale%amountsetLinearVelocityXxsetLinearVelocityYy:PEOF8@PEOEO#)?CHH"(,/M69CeH"(,/M69CwHCLH"(,/M69P"(OEOCOEOC1OG9P"(OEOC;OEOC1OG9P"(OEOCgOEOCOG9P"(,/3OG9 9PEOF8 PEOG#+9"(,/3,/3#+9P"(O"(OF#+9P"(O"(,/3OF#+9"(,/2P"(,/3O"(,/3OG9"(,/28P"(,/3O"(,/3OG9  # / ;Kaw!"$%'(")8 a4t0L_D, 5) (  $Y}3g]s,WmQkGX7;+1 ycMC3'