I have 1000 objects in group "Lines"
I need to find out what line (object) do I actually intersecting.
so I have
Code: Select all
if intersect(btn "player", group "Lines", "opaque pixels") then
answer "Collision"
end ifCode: Select all
if intersect(btn "player", group "Lines", "opaque pixels") then
answer "Collision with line XYZ in group Lines"
end ifSolution would be to check intersect for every single Line but there is too many lines.
