get color

Blitz3D Forums/Blitz3D Programming/get color

is there a way u can detect certain colors at chosen points of the screen? like an (eye dropper) effect

Put something like this in your code.
GetColor(MouseX(), MouseY())

It will set the current color to whatever is under your mouse.

lol @ thread title and solution :p

... there was a code getcolor?

anyway i wanted to make a program where a ball would follow a red line how would u do this?

I'd use waypoints; i.e. the ball moves towards the first waypoint. When it reaches it, it starts moving to the second waypoint, and so on.

"waypoints /follow a line" kinda the same thing if only u could use the hidewindow command in b3D so u could u it to follow stuff on ur destop or something