MCPcopy Index your code
hub / github.com/Fiddle-Digital/string-scroll / setObjectStatus

Method setObjectStatus

src/index.ts:367–372  ·  view source on GitHub ↗
(id: string, status: boolean)

Source from the content-addressed store, hash-verified

365 }, 300);
366 }
367 public setObjectStatus(id: string, status: boolean){
368 let object = this.getObject(id)
369 if(object != undefined){
370 object.enabled = status
371 }
372 }
373 private getObject(id: string): StringScrollObject | undefined{
374 let findedObject = undefined
375 this.animations.forEach(animation => {

Callers

nothing calls this directly

Calls 1

getObjectMethod · 0.95

Tested by

no test coverage detected