[{"data":1,"prerenderedAt":1006},["ShallowReactive",2],{"doc-global_essentials\u002Fcharacters\u002Factor_slots":3},{"id":4,"title":5,"body":6,"description":16,"extension":996,"meta":997,"navigation":1001,"path":1002,"seo":1003,"stem":1004,"__hash__":1005},"docs\u002Fdocs\u002Fglobal_essentials\u002Fcharacters\u002Factor_slots.md","Actor Slots",{"type":7,"value":8,"toc":977},"minimark",[9,13,17,20,25,90,92,96,99,184,186,190,195,278,283,315,320,338,343,361,368,370,374,381,386,450,453,455,459,463,615,619,628,632,665,667,671,674,776,781,799,801,805,812,843,852,854,858,948,950,954,973],[10,11,5],"h1",{"id":12},"actor-slots",[14,15,16],"p",{},"Actor slots display characters in VN-style scenes with positioning, animations, and transitions.",[18,19],"hr",{},[21,22,24],"h2",{"id":23},"how-it-works","How It Works",[26,27,28,41],"table",{},[29,30,31],"thead",{},[32,33,34,38],"tr",{},[35,36,37],"th",{},"Step",[35,39,40],{},"What happens",[42,43,44,53,66,74,82],"tbody",{},[32,45,46,50],{},[47,48,49],"td",{},"1",[47,51,52],{},"Define slot templates in Characters > Actor Slots",[32,54,55,58],{},[47,56,57],{},"2",[47,59,60,61,65],{},"Use ",[62,63,64],"code",{},"{actor}"," action to place characters in slots",[32,67,68,71],{},[47,69,70],{},"3",[47,72,73],{},"Characters render with enter animations",[32,75,76,79],{},[47,77,78],{},"4",[47,80,81],{},"Idle animations loop while displayed",[32,83,84,87],{},[47,85,86],{},"5",[47,88,89],{},"Exit animations play on removal",[18,91],{},[21,93,95],{"id":94},"features","Features",[14,97,98],{},"Actor slots support:",[26,100,101,111],{},[29,102,103],{},[32,104,105,108],{},[35,106,107],{},"Feature",[35,109,110],{},"Description",[42,112,113,124,134,144,154,164,174],{},[32,114,115,121],{},[47,116,117],{},[118,119,120],"strong",{},"Positioning",[47,122,123],{},"Place anywhere using x\u002Fy percentages, layer with z-index",[32,125,126,131],{},[47,127,128],{},[118,129,130],{},"Transforms",[47,132,133],{},"Scale, rotate, flip (mirror), adjust opacity and blur",[32,135,136,141],{},[47,137,138],{},[118,139,140],{},"Enter transitions",[47,142,143],{},"Animated appearance (fade, slide, zoom, bounce, etc.)",[32,145,146,151],{},[47,147,148],{},[118,149,150],{},"Exit transitions",[47,152,153],{},"Animated removal with same transition options",[32,155,156,161],{},[47,157,158],{},[118,159,160],{},"Idle animations",[47,162,163],{},"Looping animations while displayed (float, sway, pulse, etc.)",[32,165,166,171],{},[47,167,168],{},[118,169,170],{},"Filter effects",[47,172,173],{},"Brightness, contrast, saturation, sepia, hue rotation",[32,175,176,181],{},[47,177,178],{},[118,179,180],{},"Anchors",[47,182,183],{},"Control rotation pivot point",[18,185],{},[21,187,189],{"id":188},"addingremoving-actors","Adding\u002FRemoving Actors",[191,192,194],"h3",{"id":193},"using-actions","Using Actions",[26,196,197,206],{},[29,198,199],{},[32,200,201,204],{},[35,202,203],{},"Action",[35,205,110],{},[42,207,208,218,228,238,248,258,268],{},[32,209,210,215],{},[47,211,212],{},[62,213,214],{},"{actor: \"my_character->my_slot\"}",[47,216,217],{},"Add character to slot",[32,219,220,225],{},[47,221,222],{},[62,223,224],{},"{actor: \"my_character->my_slot(x=30, scale=1.2)\"}",[47,226,227],{},"Add with property overrides",[32,229,230,235],{},[47,231,232],{},[62,233,234],{},"{actor: \"alice->left, bob->right\"}",[47,236,237],{},"Add multiple actors",[32,239,240,245],{},[47,241,242],{},[62,243,244],{},"{actor: \"!my_character\"}",[47,246,247],{},"Remove character (with exit animation)",[32,249,250,255],{},[47,251,252],{},[62,253,254],{},"{actor: \"!my_character(exit=fade)\"}",[47,256,257],{},"Remove with custom exit",[32,259,260,265],{},[47,261,262],{},[62,263,264],{},"{actor: \"my_character(alpha=0.5)\"}",[47,266,267],{},"Update existing actor properties",[32,269,270,275],{},[47,271,272],{},[62,273,274],{},"{actor: false}",[47,276,277],{},"Clear all actors",[14,279,280],{},[118,281,282],{},"Example - Two characters talking:",[284,285,290],"pre",{"className":286,"code":287,"language":288,"meta":289,"style":289},"language-javascript shiki shiki-themes github-light github-dark","{actor: \"alice->left(enter=fadeSlideRight), bob->right(enter=fadeSlideLeft)\"}\n","javascript","",[62,291,292],{"__ignoreMap":289},[293,294,297,301,305,308,312],"span",{"class":295,"line":296},"line",1,[293,298,300],{"class":299},"sVt8B","{",[293,302,304],{"class":303},"sScJk","actor",[293,306,307],{"class":299},": ",[293,309,311],{"class":310},"sZZnC","\"alice->left(enter=fadeSlideRight), bob->right(enter=fadeSlideLeft)\"",[293,313,314],{"class":299},"}\n",[14,316,317],{},[118,318,319],{},"Example - Character leaves:",[284,321,323],{"className":286,"code":322,"language":288,"meta":289,"style":289},"{actor: \"!alice\"}\n",[62,324,325],{"__ignoreMap":289},[293,326,327,329,331,333,336],{"class":295,"line":296},[293,328,300],{"class":299},[293,330,304],{"class":303},[293,332,307],{"class":299},[293,334,335],{"class":310},"\"!alice\"",[293,337,314],{"class":299},[14,339,340],{},[118,341,342],{},"Example - Move character to different slot:",[284,344,346],{"className":286,"code":345,"language":288,"meta":289,"style":289},"{actor: \"alice->center\"}\n",[62,347,348],{"__ignoreMap":289},[293,349,350,352,354,356,359],{"class":295,"line":296},[293,351,300],{"class":299},[293,353,304],{"class":303},[293,355,307],{"class":299},[293,357,358],{"class":310},"\"alice->center\"",[293,360,314],{"class":299},[14,362,363,364,367],{},"If a character is already in the scene, using ",[62,365,366],{},"my_character->other_slot"," moves them smoothly to the new position.",[18,369],{},[21,371,373],{"id":372},"slot-templates","Slot Templates",[14,375,376,377,380],{},"Create reusable slot positions in ",[118,378,379],{},"Characters > Actor Slots",".",[14,382,383],{},[118,384,385],{},"Common slot setup:",[26,387,388,403],{},[29,389,390],{},[32,391,392,395,398,401],{},[35,393,394],{},"Slot ID",[35,396,397],{},"x",[35,399,400],{},"y",[35,402,110],{},[42,404,405,421,435],{},[32,406,407,412,415,418],{},[47,408,409],{},[62,410,411],{},"left",[47,413,414],{},"20",[47,416,417],{},"50",[47,419,420],{},"Left side of screen",[32,422,423,428,430,432],{},[47,424,425],{},[62,426,427],{},"center",[47,429,417],{},[47,431,417],{},[47,433,434],{},"Center",[32,436,437,442,445,447],{},[47,438,439],{},[62,440,441],{},"right",[47,443,444],{},"80",[47,446,417],{},[47,448,449],{},"Right side of screen",[14,451,452],{},"Templates define default values. Inline properties override template values.",[18,454],{},[21,456,458],{"id":457},"transitions","Transitions",[191,460,462],{"id":461},"enter-transitions","Enter Transitions",[26,464,465,475],{},[29,466,467],{},[32,468,469,472],{},[35,470,471],{},"Category",[35,473,474],{},"Options",[42,476,477,494,513,532,551,570,586,599],{},[32,478,479,482],{},[47,480,481],{},"Fade",[47,483,484,487,488,487,491],{},[62,485,486],{},"fade",", ",[62,489,490],{},"dissolve",[62,492,493],{},"blurIn",[32,495,496,499],{},[47,497,498],{},"Slide",[47,500,501,487,504,487,507,487,510],{},[62,502,503],{},"slideUp",[62,505,506],{},"slideDown",[62,508,509],{},"slideLeft",[62,511,512],{},"slideRight",[32,514,515,518],{},[47,516,517],{},"Move In",[47,519,520,487,523,487,526,487,529],{},[62,521,522],{},"moveInTop",[62,524,525],{},"moveInBottom",[62,527,528],{},"moveInLeft",[62,530,531],{},"moveInRight",[32,533,534,537],{},[47,535,536],{},"Fade Slide",[47,538,539,487,542,487,545,487,548],{},[62,540,541],{},"fadeSlideUp",[62,543,544],{},"fadeSlideDown",[62,546,547],{},"fadeSlideLeft",[62,549,550],{},"fadeSlideRight",[32,552,553,556],{},[47,554,555],{},"Zoom",[47,557,558,487,561,487,564,487,567],{},[62,559,560],{},"zoomIn",[62,562,563],{},"zoomOut",[62,565,566],{},"grow",[62,568,569],{},"shrink",[32,571,572,575],{},[47,573,574],{},"Rotate",[47,576,577,487,580,487,583],{},[62,578,579],{},"rotate",[62,581,582],{},"rotateIn",[62,584,585],{},"rotateOut",[32,587,588,591],{},[47,589,590],{},"Flip",[47,592,593,487,596],{},[62,594,595],{},"flip",[62,597,598],{},"flipVertical",[32,600,601,604],{},[47,602,603],{},"Bounce",[47,605,606,487,609,487,612],{},[62,607,608],{},"bounce",[62,610,611],{},"elastic",[62,613,614],{},"pop",[191,616,618],{"id":617},"exit-transitions","Exit Transitions",[14,620,621,622,487,625,627],{},"Same types available with directional variants (e.g., ",[62,623,624],{},"slideOutLeft",[62,626,544],{},").",[191,629,631],{"id":630},"easing-options","Easing Options",[14,633,634,487,637,487,640,487,643,487,646,487,649,487,652,487,654,487,656,487,659,487,662],{},[62,635,636],{},"linear",[62,638,639],{},"power1",[62,641,642],{},"power2",[62,644,645],{},"power3",[62,647,648],{},"power4",[62,650,651],{},"back",[62,653,611],{},[62,655,608],{},[62,657,658],{},"circ",[62,660,661],{},"expo",[62,663,664],{},"sine",[18,666],{},[21,668,670],{"id":669},"idle-animations","Idle Animations",[14,672,673],{},"Continuous looping animations while the character is displayed.",[26,675,676,684],{},[29,677,678],{},[32,679,680,682],{},[35,681,471],{},[35,683,474],{},[42,685,686,710,734,747,766],{},[32,687,688,691],{},[47,689,690],{},"Movement",[47,692,693,487,696,487,698,487,701,487,704,487,707],{},[62,694,695],{},"float",[62,697,608],{},[62,699,700],{},"hop",[62,702,703],{},"pan",[62,705,706],{},"shake",[62,708,709],{},"shimmy",[32,711,712,715],{},[47,713,714],{},"Rotation",[47,716,717,487,720,487,723,487,725,487,728,487,731],{},[62,718,719],{},"sway",[62,721,722],{},"rock",[62,724,579],{},[62,726,727],{},"nod",[62,729,730],{},"lean",[62,732,733],{},"wiggle",[32,735,736,739],{},[47,737,738],{},"Scale",[47,740,741,487,744],{},[62,742,743],{},"pulse",[62,745,746],{},"breathe",[32,748,749,752],{},[47,750,751],{},"Visual",[47,753,754,487,757,487,760,487,763],{},[62,755,756],{},"blink",[62,758,759],{},"glow",[62,761,762],{},"jitter",[62,764,765],{},"glitch",[32,767,768,771],{},[47,769,770],{},"Combined",[47,772,773],{},[62,774,775],{},"wave",[14,777,778],{},[118,779,780],{},"Example - Floating character:",[284,782,784],{"className":286,"code":783,"language":288,"meta":289,"style":289},"{actor: \"ghost->center(idle=float, idle_intensity=0.8)\"}\n",[62,785,786],{"__ignoreMap":289},[293,787,788,790,792,794,797],{"class":295,"line":296},[293,789,300],{"class":299},[293,791,304],{"class":303},[293,793,307],{"class":299},[293,795,796],{"class":310},"\"ghost->center(idle=float, idle_intensity=0.8)\"",[293,798,314],{"class":299},[18,800],{},[21,802,804],{"id":803},"events","Events",[14,806,807,808,811],{},"Actors use the same character visual template as Character Sheet and Character Face. The ",[62,809,810],{},"character_render"," event applies to all contexts where a character is displayed.",[26,813,814,827],{},[29,815,816],{},[32,817,818,821,824],{},[35,819,820],{},"Event",[35,822,823],{},"When it fires",[35,825,826],{},"Parameters",[42,828,829],{},[32,830,831,835,838],{},[47,832,833],{},[62,834,810],{},[47,836,837],{},"Before character layers are built",[47,839,840],{},[62,841,842],{},"(character)",[14,844,60,845,847,848,851],{},[62,846,810],{}," to dynamically modify ",[62,849,850],{},"character.renderedLayers"," before display.",[18,853],{},[21,855,857],{"id":856},"quick-reference","Quick Reference",[26,859,860,870],{},[29,861,862],{},[32,863,864,867],{},[35,865,866],{},"I want to...",[35,868,869],{},"Do this",[42,871,872,880,890,899,909,918,930,940],{},[32,873,874,876],{},[47,875,217],{},[47,877,878],{},[62,879,214],{},[32,881,882,885],{},[47,883,884],{},"Add with animation",[47,886,887],{},[62,888,889],{},"{actor: \"my_character->my_slot(enter=fade)\"}",[32,891,892,895],{},[47,893,894],{},"Remove character",[47,896,897],{},[62,898,244],{},[32,900,901,904],{},[47,902,903],{},"Move to new slot",[47,905,906],{},[62,907,908],{},"{actor: \"my_character->other_slot\"}",[32,910,911,914],{},[47,912,913],{},"Update properties",[47,915,916],{},[62,917,264],{},[32,919,920,923],{},[47,921,922],{},"Flip horizontally",[47,924,925,926,929],{},"Set ",[62,927,928],{},"mirror: true"," on slot",[32,931,932,935],{},[47,933,934],{},"Add looping animation",[47,936,925,937,929],{},[62,938,939],{},"idle: \"float\"",[32,941,942,944],{},[47,943,277],{},[47,945,946],{},[62,947,274],{},[18,949],{},[21,951,953],{"id":952},"next-steps","Next Steps",[955,956,957,966],"ul",{},[958,959,960,965],"li",{},[961,962,964],"a",{"href":963},"\u002Fdocs\u002Fglobal_essentials\u002Fcharacters\u002Fcharacters_overview","Overview"," - Character system basics",[958,967,968,972],{},[961,969,971],{"href":970},"\u002Fdocs\u002Fglobal_essentials\u002Fresources\u002Fassets","Assets"," - Background assets for scenes",[974,975,976],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":289,"searchDepth":978,"depth":978,"links":979},2,[980,981,982,986,987,992,993,994,995],{"id":23,"depth":978,"text":24},{"id":94,"depth":978,"text":95},{"id":188,"depth":978,"text":189,"children":983},[984],{"id":193,"depth":985,"text":194},3,{"id":372,"depth":978,"text":373},{"id":457,"depth":978,"text":458,"children":988},[989,990,991],{"id":461,"depth":985,"text":462},{"id":617,"depth":985,"text":618},{"id":630,"depth":985,"text":631},{"id":669,"depth":978,"text":670},{"id":803,"depth":978,"text":804},{"id":856,"depth":978,"text":857},{"id":952,"depth":978,"text":953},"md",{"plugin":998,"category":999,"page":1000},"global_essentials","characters","actor_slots",true,"\u002Fdocs\u002Fglobal_essentials\u002Fcharacters\u002Factor_slots",{"title":5,"description":16},"docs\u002Fglobal_essentials\u002Fcharacters\u002Factor_slots","yk-9LOf7fHbol3dkxX2EUaw7-aiQJ4K5SG69jopuGLw",1779582261097]