{"name":"tvIsSelected","operator":null,"title":"tvIsSelected","type":"command","url":"https://community.bistudio.com/wiki/tvIsSelected","revid":378325,"updated":"2026-04-02T16:30:16Z","groups":["GUI Control - Tree View"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.02"}],"since":{"game":"arma3","name":"Arma 3","version":"2.02"},"arma3_since":"2.02","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if given treeview item is selected.","syntaxes":[{"syntax":"control tvIsSelected path","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"path","type":"Tree View Path","optional":false,"default":null,"description":null,"types":["Tree View Path"],"since":null,"text":"path: Tree View Path"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"path","types":["Tree View Path"]}}],"examples":[{"text":"```sqf\n_control tvIsSelected [0];\n```","code":["_control tvIsSelected [0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["tvSelection","tvSetSelected"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - Tree View","Introduced with Arma 3 version 2.02","Scripting Commands"]}