Has LoS to object problem, obtacles can not trigger this condition.
Can anything help? Or I should change the behaviors?
Thx for answers .
You should provide a capx so we can see what you've done. The behaviour works fine, so this is probably just a matter of you using it incorrectly.
Develop games in your browser. Powerful, performant & highly capable.
Just add "Solid" to Pig in example project in Construct, and no one can be visible.