Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
when i check if array contain a value that alredy exist in the array it does not work
Develop games in your browser. Powerful, performant & highly capable.
Your array2 values contain line break (newline) in front.
use trim() expression when putting text values into the array, it will remove all invisible characters - spaces, tabs, line breaks.
thank you very much .it is working now