Hat block to detect if i touch to another sprite

Hi, i encountred problem with this hat block when i use Stepping
(error, the predicate takes too long for a custom hat block)

image

What's the best for detecting sprite detection ?

The hat block or this:
image

or another method ?

I only use the solution without the "when" block (therefore with the forever loop).

simple: untitled script pic(2)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.