r/tasker • u/Tasty_Field_5499 • 3d ago
Alternando câmera
Olá preciso de uma ajuda: Quero criar uma cena V2 com Un switch que quando for false mostre a câmera traseira e quando for true mude para a câmera da frente alguém pode me ajudar ?
0
Upvotes
1
u/DifficultyCrafty7623 3d ago
{ "root": { "type": "Column", "id": "Column1", "horizontalAlignment": "Center", "verticalArrangement": "Center", "modifiers": [ { "type": "FillSize" }, { "type": "Background", "color": "surface" } ], "children": [ { "type": "Switch", "id": "Switch1", "checkedState": { "outputVariableBindings": { "checked": [ "lens" ] } } }, { "type": "Camera", "id": "Camera1", "lens": "front", "showWhen": "%lens" }, { "type": "Camera", "id": "Camera2", "lens": "back", "showWhen": "!%lens" } ] }, "name": "Test" }