Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zhouzi/TheaterJS
/ setCurrentActor
Function
setCurrentActor
src/theaterJS.js:58–61 ·
view source on GitHub ↗
(actorName)
Source
from the content-addressed store, hash-verified
56
}
57
58
function
setCurrentActor (actorName) {
59
props.onStage = actorName
60
return
this
61
}
62
63
function
getCurrentActor () {
64
return
props.casting[props.onStage] || null
Callers
2
theaterJS
Function · 0.85
playNextScene
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected