\r\n\r\nWe should accept an array too\r\n\u003CTresMesh v-layer:enable=\"[1, 2, 3]\" />\r\n\r\nAnd of course other methods like: disable, test (maybe with a console.log), toggle\r\n\r\nFor more info, check:\r\nhttps://threejs.org/docs/index.html?q=layers#api/en/core/Layers\r\n\n\n### Alternative\n\nAny other alternative is considered\n\n### Additional context\n\nAs we discuss, you can achieve this by using template ref, but sometimes is just too much code, this Issue will could improve the UX\r\n\r\nFollowing the directives pattern (to make our user easier)\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.",[2882,2885],{"name":2883,"color":2884},"feature","c2e0c6",{"name":2869,"color":2870},543,"tres","v-layer directive","2024-03-30T15:32:13Z","https://github.com/Tresjs/tres/issues/543",0.759513,{"description":2893,"labels":2894,"number":2898,"owner":2872,"repository":2887,"state":2874,"title":2899,"updated_at":2900,"url":2901,"score":2902},"Atm the docs don't have search functionality, as we grow on features, it's important to have it\n\nhttps://vitepress.dev/reference/default-theme-search",[2895],{"name":2896,"color":2897},"docs","0075ca",152,"Add Algolia Search to docs","2024-03-28T11:19:27Z","https://github.com/Tresjs/tres/issues/152",0.76656365,{"description":2904,"labels":2905,"number":2912,"owner":2872,"repository":2887,"state":2874,"title":2913,"updated_at":2914,"url":2915,"score":2916},"### Description\r\n\r\nAs a developer using TresJS, I want to have a `\u003CPortal>` component that can contain a separate `Scene` and `context`.\r\n\r\n### Suggested solution\r\n\r\nProvide a `\u003CPortal>` component similar to R3F.\r\n\r\n### Requirements\r\n\r\n- [ ] Add override-able pointer to `TresContext` (Also add as prop to TresCanvas: see #581 ); use vanilla `THREE.Vector2`, accept `Vector2` and `UsePointerOptions` as TresCanvas prop\r\n- [ ] Make these fields on `TresContext` swappable and (in some case injectable by the user): scene, camera, cameras, controls, raycaster, eventManager, sizes\r\n\r\n### Validations\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.",[2906,2909],{"name":2907,"color":2908},"p3-significant","2C78E3",{"name":2910,"color":2911},"v5","EFC959",789,"Portal","2025-02-06T09:59:01Z","https://github.com/Tresjs/tres/issues/789",0.76678467,{"description":2918,"labels":2919,"number":2922,"owner":2872,"repository":2923,"state":2874,"title":2924,"updated_at":2925,"url":2926,"score":2927},"### Description\n\nAs a developer using TresJS, I would like to have a component that can keep child components centered on screen, even after screen resizes.\n\n### Suggested solution\n\nA component that works like [Drei's `\u003CBounds />`](https://drei.docs.pmnd.rs/staging/bounds#bounds) would be welcome.\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[2920,2921],{"name":2883,"color":2884},{"name":2869,"color":2870},408,"cientos","\u003CBounds />","2024-12-17T18:07:35Z","https://github.com/Tresjs/cientos/issues/408",0.7724521,{"description":2929,"labels":2930,"number":2936,"owner":2872,"repository":2923,"state":2937,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### Description\n\nAs a developer using `@tresjs/cientos` I want to be able to benefit from on-demand and conditional renderinghttps://github.com/Tresjs/tres/pull/497 while using the abstractions provided by this package\n\n### Suggested solution\n\nUse `invalidate` and `advance` on the abstractions that require it:\r\n\r\nEx: OrbitControls\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[2931,2932,2935],{"name":2883,"color":2884},{"name":2933,"color":2934},"v4","EEF2B0",{"name":2907,"color":2908},423,"closed","Enable render modes usage on abstractions","2024-08-28T19:22:46Z","https://github.com/Tresjs/cientos/issues/423",0.7438121,{"description":2943,"labels":2944,"number":2946,"owner":2872,"repository":2947,"state":2937,"title":2948,"updated_at":2949,"url":2950,"score":2951},"**Is your feature request related to a problem? Please describe.**\nAdvanced users might want to use the attach feature from the core instead of post-processing. I think we should mention it in the docs.",[2945],{"name":2896,"color":2897},195,"post-processing","Have a section mentioning the attach feature in the docs","2025-04-13T10:14:24Z","https://github.com/Tresjs/post-processing/issues/195",0.74910134,{"description":2953,"labels":2954,"number":1497,"owner":2872,"repository":2923,"state":2937,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Describe the bug\n\nUsing ScrollControls on the Nuxt playground gets broken \r\n\r\n\r\nhttps://github.com/Tresjs/cientos/assets/4699008/1a739f12-df88-4235-9793-f9859520c2e7\r\n\r\n\n\n### Reproduction\n\nhttps://deploy-preview-52--tresjs-playground.netlify.app/experiments/scroll-controls\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.4.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 100.84 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm\r\n Browsers:\r\n Brave Browser: 114.1.52.130\r\n Chrome: 114.0.5735.198\r\n Firefox: 114.0.2\r\n Safari: 16.5.1\r\n npmPackages:\r\n @tresjs/cientos: 2.3.0 => 2.3.0 \r\n @tresjs/core: ^2.4.0 => 2.4.0 \r\n @tresjs/nuxt: 1.0.0 => 1.0.0 \r\n @tresjs/post-processing: ^0.3.0 => 0.3.0\n```\n\n\n### Used Package Manager\n\npnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2955],{"name":2956,"color":2957},"bug","d73a4a","ScrollControls not working correctly on Nuxt ","2023-07-12T06:05:12Z","https://github.com/Tresjs/cientos/issues/129",0.75047475,{"description":2963,"labels":2964,"number":2965,"owner":2872,"repository":2923,"state":2937,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### Description\r\n\r\nAdapt `cientos` package to https://github.com/Tresjs/tres/issues/331 changes\r\n\r\n#### Abstractions\r\n\r\n- [x] Environment\r\n- [x] MouseParallax\r\n- [x] Stars\r\n- [x] Smoke\r\n- [x] Levioso\r\n- [x] Contact Shadows\r\n- [x] Precipitation\r\n\r\n#### Controls\r\n- [x] OrbitControls @alvarosabu \r\n- [x] TransformControls\r\n- [x] PointerLockControls\r\n- [x] KeyboardControls\r\n- [x] MapControls\r\n- [x] ScrollControls\r\n\r\n### Materials\r\n\r\n- [x] WobbleMaterial\r\n\r\n### Staging\r\n\r\n- [x] Backdrop\r\n\r\n### Misc\r\n\r\n- [x] useTweakpane\r\n\r\n### Suggested solution\r\n\r\n- [x] Refactor watchers \r\n- [x] Remove deconstruct props if needed\r\n- [x] Merge to 'next'\r\n\r\n### Alternative\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[],120,"Refactor useCientos to new state context provider","2023-07-29T11:45:37Z","https://github.com/Tresjs/cientos/issues/120",0.75059295,{"description":2971,"labels":2972,"number":2965,"owner":2872,"repository":2947,"state":2937,"title":2974,"updated_at":2975,"url":2976,"score":2969},"**Is your feature request related to a problem? Please describe.**\r\nIt would be helpful for users to have the component's prop types available.\r\n",[2973],{"name":2866,"color":2867},"make prop types available","2024-10-15T14:41:37Z","https://github.com/Tresjs/post-processing/issues/120",["Reactive",2978],{},["Set"],["ShallowReactive",2981],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fNo1pcTHHiW3CnmN3pUyPt2udGUDo9rvx6uuxVl_ldeg":-1},"/Tresjs/cientos/289"]