跳到內容
繁體中文

居民設定

Pixling 正在準備於 Mac App Store 上架。歡迎到 pixling.app 加入候補名單,上架時會通知你。

檢視並更改一位居民的設定、外觀、反應勾點、對話框與重力。若要列出、擺放、跟隨、設定暫時狀態、冒出表情、叫出與讀取像素,請見居民。

範圍 跳到
描述狀態、設定與選項 pixling_resident_describe
更改設定(patch、前後順序、隱藏) pixling_resident_set
點密度與顏色規則 點(dots)與 dotsWrite
滑過、點按、抓住、放開、說話 反應勾點(hooks)
對話紙樣式與摺起記號 對話紙(speech)
對話視窗位置與大小 對話視窗(speechWindow)
重力、強度、摩擦與螢幕 重力
設定紙與選單對照表 設定紙與 resident.set、右鍵選單

pixling_resident_describe

「pixling_resident_describe」一節

回傳一位居民的完整狀態:resident、settings、options、shapes、sequence、upBoundary、status 與 playback。resident 是完整的 residents.list 列,settings 保存目前右鍵選單設定,options 列出這位居民允許的值。呼叫 resident.set 前請先呼叫 describe。

群組 鍵
擺放與圖層 layer、presence、displayBoundary、hidden
重力與丟出 gravity、gravityMenuBar、gravityCameraArea、gravityStrength、friction、throw
互動與勾點 clickThrough、clickShortcut、hooks
點、調色盤與顆粒 dots、palette、cellStyle、tone、grain、seeThrough
外框、影子與貼紙 outline、outlineWidth、shadow、sticker、reflection、reflectionDetail
方塊、凹凸與體積 block、reliefDetail、volumeDepth、volumeLight、volumeShadow、lightColor、volumeDepthBaked、surfaceMaterials
標籤與亮光 nameplate、nameplateColor、nameplateSeat、foldMarkSeat、highlight
動作與姿勢 pose、motionEnabled、motionBlockedBy、motionFeel、motionTempo、motionFrameCount、motionFrameOffset、drift
閒置動畫 idleAnimation、idleAnimationPinned
說話與通知 speech、speechWindow、speechFolded、notify、notifyQuestion、notifyMessage、sound、soundQuestion、soundMessage

特定 settings 值的說明:

  • dots:{count, rule, thicken},對應設定紙的 點 頁,無法使用時為 null。
  • nameplate 與 nameplateColor:nameplate 為 hover 或 always。nameplateColor 為 speech(採用居民自己對話紙的顏色)或 #RRGGBB 底色。
  • highlight:指標停在對話上時身體周圍的光:speech(項目紙張的顏色)、none,或 #RRGGBB 外圈光。
  • motionBlockedBy 與 motionFrameCount:motionBlockedBy 為 nothing、thisResident 或 appSetting。motionFrameCount 照原樣繪製時為 null。
  • idleAnimationPinned:使用者固定某個平常的動作時為 true,抑制其他動作與 occasional 連續動作。
  • speech 與 speechWindow:這位居民的對話紙樣子與對話視窗幾何位置(自動時為 null);請見對話紙(speech)與對話視窗(speechWindow)。

options 保存這位居民的 dots 選項、pose 畫格 ID、idleAnimation({id, name})以及固定詞彙表。options 中缺少的鍵代表這位居民無法使用。

鍵 可用條件 範圍與預設
dots 長邊大於 8 個點的像素圖 min(8)至 max(來源點數);{min, max, quick, rules, source}
block 像素圖,畫布 <= 128 px height:0 或 30–400‰;offset:10–150‰(56);fieldOfView:50–150%(100)
reliefDetail 像素圖,畫布 >= 64 px 0–200(單位 0.1;0 關閉,100 為 10.0)
volumeDepth 僅限像素圖 0–80(單位 0.1;0 關閉,40 為 4.0)
volumeLight、volumeShadow 僅限像素圖 volumeShadow:0–100% 或 null(從圖片測得)
tone 僅限像素圖 tone.saturation:30–180%(100);tone.brightness:-36–36%(0)
grain 僅限像素圖 grain.sizePercent:25、50、75、100(100);grain.transparencyPercent:0–80%(0)
motionTempo 所有居民 一般速度的 25–200%(100)
motionFeel 所有居民 0(不休息)或 10–1200(單位 0.1 秒;24 = 2.4–7.2 秒)
seeThrough 所有居民 指標在身上時變淡 0–80%(0;身體不透明度為 100% 減去該值)
outlineWidth 像素圖 待機身體長邊的 512 分之 1–16(4),繪製為 1–16 格

特定 options 鍵的細節:

  • dots:對應 點 頁。max 是來源點數,維持點不變;quick 列出小於 max 的快速數字按鈕;rules 列出顏色規則(recommended、mostCommon、contrast、region、threeGroups、median、average、centre);source 為 {width, height}。全彩居民與長邊 8 個點以下的來源不包含此鍵。
  • block、reliefDetail 與體積:畫布 64 px 到 128 px 同時提供 block 與 reliefDetail。block.height 與 block.offset 是相對於畫布長邊的千分比整數;block.fieldOfView 是百分比整數。像素圖一律提供體積鍵,全彩一律沒有;深度場是否已烘焙屬於狀態(settings.volumeDepthBaked),而非可用性。
  • tone.brightness 與 motionFeel:正值 brightness 偏向白色,負值偏向黑色。motionFeel 的值是以 0.1 秒為單位的最短休息時間(1.0–120.0 秒),最長休息一律是最短的 3 倍,因此 24 會休息 2.4–7.2 秒。
  • idleAnimation:先列出作品動作,接著以 sequence:<name> 列出所有符合 occasional 資格的已儲存連續動作(不含 say、emote、bounce 或 throw)。
    • 只由片段、短於 3 秒的停住,以及留在分鏡內且不重疊的光組成的連續動作,會像動作一樣直接循環,每次循環都會亮光。
    • 包含移動、縮放、旋轉、鏡像、搖晃、淡化、改變樣子或較長停住的連續動作,會播放一次、依居民的休息設定休息,再重複。即使 motionFeel: 0(不休息),每次播放間仍會休息 1.2–4 秒,且在動作關閉或省電模式時不會播放。
    • 若選中的連續動作被刪除或改到不再符合資格,居民會回復原本平常的動作。
  • hooks:options.hooks 包含 hover、click、grab、release 和 speak。每個事件各自列出 builtin(poke、settle、pass)、motion(來自 idleAnimation 的作品動作)與 sequence(透過 pixling_sequence_save 替此素材儲存的名稱)。speak 排除會說話的連續動作,click 另外列出 bubble(open、write)。
  • settings.hooks.<event>:回傳 {value, effective, layer}。value 是這位居民自己的選擇,自動時為 null;effective 是目前實際執行的內容;layer 是 entity、asset(創作預設)或 app(App 預設)。App 預設為 speak 是 poke、click 是 {"bubble": "open"}(設了 clickShortcut 時為 "none"),其餘為 "none"。

CLI 給人看的輸出每項設定印一行,格式為 key: value (choices),例如 layer: floating (floating|window|wallpaper)。

傳入無重複的非空陣列 sections,項目可選 resident、settings、options、shapes、sequence 和 upBoundary。resident 包含身分、可見性、狀態與播放資訊。部分回應一律保留 entityID。省略 sections 則取得全部。

使用 to 和對應 settings 鍵的封閉 patch 更新一位居民的設定。省略的鍵維持原樣;null 恢復預設值(CLI 為 default)。每次寫入都走與右鍵選單相同的驗證流程。

MCP 參數
{"to": "No.7#1", "gravity": "down", "motionEnabled": true, "seeThrough": 40}
CLI 對應寫法
pixling resident set --to 'No.7#1' --gravity down --motion true
pixling resident set --to 'No.7#1' --input '{"gravity":"down","motionEnabled":true,"seeThrough":40}'
回應(result,節錄設定)
{
"entityID": "0194e1a2-7b3c-7000-8000-000000000001",
"settings": {
"layer": "floating",
"presence": "everywhere",
"gravity": "down",
"motionEnabled": true,
"seeThrough": 40
}
}

實際回應會包含 settings 欄位中列出的每一個鍵,有寫入 dots 時還會附上 dotsWrite(dotsWrite 為 failed 時另附 hint)。

  • 型別:throw、clickThrough、hidden 和 motionEnabled 為布林值;dots、tone、grain、block 和 shadow 為物件。
  • hidden:true 隱藏居民,同時保留它的桌面、位置、設定與綁定;false 在原地重新顯示。隱藏期間 visibility 為 hidden,一句話會以原因 hidden 變成 held,信和提問會等待,而光、表情、丟出和連續動作會以 hidden 被拒絕。
  • pose 與 motionEnabled:設定 pose 會停在該畫格並停止動作;motionEnabled: true 解除它。設定 motionEnabled: false 會讓居民停在目前姿勢並維持 pose: null。
  • order:以 front、forward、back 或 backmost 調整居民在所屬圖層內的前後順序(CLI 拒絕 default)。
  • 體積烘焙:對未烘焙的居民寫入體積屬性會自動啟動烘焙,完成後效果即呈現。
  • 寫入順序與部分失敗:各項目會以獨立變更依序寫入。若書桌拒絕其中一項(appNotReady、saveFailed、sceneInvalid),該項及後續項目不會寫入,但前面的項目可能已套用;請呼叫 describe 確認。
  • CLI 輸出:給人看的輸出印出 changed ENTITY,後接每項一行。

點(dots)與 dotsWrite

「點(dots)與 dotsWrite」一節

傳入至少含一個欄位的 {count?, rule?, thicken?},格式與 settings.dots 相同,可直接把 describe 的輸出原樣傳回。省略的子欄位維持原樣,null 恢復居民預設值,看起來的大小與中心不變。

  • count:長邊點數(options.dots.min–options.dots.max,維持來源比例)。
  • rule:來自 options.dots.rules 的顏色規則。
  • thicken:true 可保留細深色線條。
  • CLI:resident set --to <selector> --input '{"dots":...}' 或 pixling call resident.set。

當書桌需要產生尚未備好的點版本時,呼叫最多會等 3 秒,並在 dotsWrite 回報結果:

dotsWrite 結果
committed 已產生並儲存;反映在 settings.dots。
replaced 被使用者操作或更新的呼叫取代;settings 顯示勝出結果。
pending 3 秒內未完成;除非被取代,準備好就會儲存。請再讀一次 describe。
failed 無法產生;點維持不變,其餘項目已儲存,並附上 hint。

最後一次選擇勝出,未變動的子欄位不寫入。同次呼叫中的 block 與 reliefDetail 會依新的點驗證。等待期間若居民被收起來,呼叫以 targetNotFound 失敗。

hooks 設定五個事件的反應:

事件 觸發時機
hover 指標移入居民
click 單純點按居民
grab 被抓著期間,從抓住到放開
release 拖移放開並停穩後,在丟出或落下落地之後
speak 一句話、信或提問首次顯示時
  • 接受的值:剛好包含 {"builtin": "poke"|"settle"|"pass"}、{"motion": "<animation id>"} 或 {"sequence": "<saved name>"} 其中之一的物件;"none" 表示不做反應;或 null 表示自動(素材預設,否則為 App 預設)。
  • 被抓著期間(grab):動作會循環,builtin 在抓住時播放一次,連續動作播放一次並停在最後一格。抓著期間會略過連續動作的移動、大小、旋轉、翻轉、樣子、不透明度與丟出,其光只在抓著不動時顯示,拖移時不顯示。
  • 會說話的連續動作:連續動作的 say 步驟在 hover、click、grab 與 release 時會說話;speak 拒絕包含 say 的連續動作(sequenceSpeaks)。
  • 點按對話框動作:click 另外接受 {"bubble": "open"}(打開摺起或縮小的對話框)和 {"bubble": "write"}(打開對話框,有綁定工作階段時一併打開寫字的紙)。身體本身不播放動作,其他事件與 message.send 的 action 都拒絕 bubble 值(與定位視窗的 speechWindow 無關)。
  • 與 clickShortcut 的互動:兩者皆設時都會執行,但點按若打開了對話框就不會開捷徑。如果尚未說過話,捷徑仍會打開。
  • 桌布居民:只能設定 speak。
  • CLI:resident set --to <selector> --input '{"hooks":...}' 或 pixling call resident.set。
輸入 拒絕
不在 options 裡的值 poseUnknown 或 animationUnknown(含反應的 motion)
對沒有 options.dots 的居民傳入 dots dotsUnavailable
未替此素材儲存的反應 sequence sequenceNotFound
在不支援的居民使用 block、reliefDetail 或體積 blockUnavailable、reliefDetailUnavailable 或 volumeUnavailable
在桌布居民設定點按捷徑或反應 wallpaperPinned
超出範圍的 tone/grain/dots.count、無法判讀的 clickShortcut、已退役的方塊世代,或同時傳入 pose 與 motionEnabled: true invalidValue
空的 patch nothingToSet

在 CLI 中,resident set 提供 10 個日常捷徑旗標(--layer、--presence、--gravity、--throw、--hidden、--click-through、--pose、--motion、--idle-animation、--order)以及接受完整結構描述的 --input <json|@file|->(與捷徑旗標互斥)。每個鍵也可透過 pixling call resident.set 操作。

設定紙與 resident.set

「設定紙與 resident.set」一節

居民的設定紙(右鍵 › 這位居民的設定…,或 Studio 的書桌)與 resident.set 寫入相同的底層設定。下表將 resident.set 鍵與 CLI 旗標對應到它們涵蓋的設定紙列(App 測試會對同一位居民套用兩者並比對儲存後的設定與重力)。

純導覽列略過,改列其子頁面上的列;調色盤色彩編輯維持僅限人操作。標為 沒有列 的項目對應設定紙上的動作(停止/播放、前後順序、隱藏)。

完整設定紙對照表(resident.set ↔ CLI ↔ 設定紙的列)
resident.set CLI 設定紙的列
layer --layer windowLayer
presence --presence presence
displayBoundary --input / call displayBoundary
gravity --gravity gravity
gravityMenuBar --input / call gravityMenuBar
gravityCameraArea --input / call gravityCameraArea
gravityStrength --input / call gravityStrength
friction --input / call friction
throw --throw throw
hidden --hidden 沒有列
clickThrough --click-through clickThrough
clickShortcut --input / call clickShortcut
hooks --input / call hoverHook, clickHook, grabHook, releaseHook, speakHook
dots --input / call dots
palette --input / call palette
cellStyle --input / call grainCell
tone --input / call palette
grain --input / call grainSize, grainTransparency
block --input / call blockEnabled, blockHeight, blockViewpoint, blockOffset, blockFieldOfView, blockDepthSpacing
shadow --input / call shadow, shadowColorSource, shadowColor, shadowOpacity, shadowBlur, shadowOffsetX, shadowOffsetY, shadowSquash, shadowLength
sticker --input / call sticker, stickerColorSource, stickerColor, stickerGloss, stickerMargin, stickerThickness, stickerOpacity
reflection --input / call reflection
reflectionDetail --input / call reflectionOpacity, reflectionLength, reflectionGap, reflectionSquash, reflectionTilt, reflectionForm
outline --input / call outline, outlineColor
outlineWidth --input / call outlineWidth
reliefDetail --input / call relief
volumeDepth --input / call volumeDepth
volumeLight --input / call volumeLight
volumeShadow --input / call volumeShadowSource, volumeShadow
lightColor --input / call lightColor
surfaceMaterials --input / call surfaceMaterials
seeThrough --input / call seeThrough
nameplate --input / call nameplate
nameplateColor --input / call nameplateColorSource, nameplateColor
nameplateSeat --input / call nameplateSeat
foldMarkSeat --input / call foldMarkSeat
highlight --input / call highlight, highlightColor
speech --input / call speechPaper
speechWindow --input / call 沒有列
speechFolded --input / call 沒有列
notify --input / call speechPaper
notifyQuestion --input / call speechPaper
notifyMessage --input / call speechPaper
sound --input / call speechPaper
soundQuestion --input / call speechPaper
soundMessage --input / call speechPaper
pose --pose poseChoice
motionEnabled --motion 沒有列
motionFeel --input / call motionFeel
motionTempo --input / call motionTempo
motionFrameCount --input / call motionFrameCount
motionFrameOffset --input / call motionFrameOffset
drift --input / call drift
idleAnimation --idle-animation idleAnimation
order --order 沒有列

speech 會像右鍵 › 這位居民的設定… › 對話框 一樣設定這位居民的對話紙樣子。其他居民與整個 App 的樣子維持不變;若要變更所有居民,請使用 settings.set。

省略的軸維持原樣,傳入 null 會跟隨該列的整個 App 值。詞彙表見 options.speech。

軸 值
kit 繪製紙張的零件套組名稱(options.speech.kit)。紙的形狀、線條、尾巴與陰影都是套組的圖
colorway、colors 預設配色,或自訂 #RRGGBB 對照表(兩者不能併用)
clear 透明百分比,整數 0–80
material 紙的材質,只有套組提供時才生效(paper 為套組本身)
font、size 字體選項與文字大小,整數點(9–28,不受 App 文字大小影響)
motion、pace 顯示動畫與速度(type/lines 為 25–400%;100 一般,200 兩倍快)
shrink 縮成一行前的安靜分鐘數,整數(1–60);0 永不縮小
textRelief、textReliefStrength 文字浮雕:auto(所穿套組的設定)、none、raised、pressed;raised 與 pressed 的強度為 weak、medium、strong。開啟「增強對比」時文字保持平面
  • 套組(kit):與 裝扮 的圖塊一樣,在保留其餘樣子的同時穿上套組。kit: null 跟隨整個 App 的套組。出廠樣子穿內建的 quiet-card 套組;每個版本都內建這些套組,桌面未提供的名稱(或空值)會穿 quiet-card。寫入桌面未提供的名稱會以 path: "speech.kit" 拒絕。CLI:resident set --to <selector> --input '{"speech":{"kit":"..."}}'。
  • 重設(speech: null):再次跟隨整個 App 的樣子。
  • 自訂顏色(colors):{message?, question?: {surface?, text?, accent?}},值為 #RRGGBB。會複製目前顯示的顏色、只更改指定角色,並將 colorway 切為 custom。colors: null 與 colorway: null 恢復跟隨整個 App 的顏色。傳入 colorway: custom、同時傳入 colors 和 colorway,或傳入空的 speech 物件都會被拒絕。
  • 摺起記號顏色(foldMark):自訂對應 一句話和提問的顏色… 的四個顏色:
    • 欄位:{letter?, line?, seal?, question?},各自為 #RRGGBB 或 null 以跟隨居民圖片。
    • 自動跟隨:跟隨圖片時,letter(信紙)與 line(線條)取最亮與最暗色,seal(封印)與 question(提問圖塊)取名字圓點的顏色。
    • 清除:foldMark: null 與 speech: null 會清除全部四項。
    • 讀回與 CLI:settings.speech.foldMark 回報生效的四個顏色,居民沒有圖片顏色時退回對話框顏色(與 settings.get 相同)。CLI:resident set --to <selector> --input '{"speech":{"foldMark":...}}'。
  • 繼承與驗證:將單一軸設為與整個 App 相同的值會解除覆寫,再次跟隨 App。未知的值、超出範圍的 clear、pace、shrink(speech.clear、speech.pace、speech.shrink)以及 colorway: custom(speech.colorway)會以註明內部欄位的 invalidArguments 失敗。紙張已不再擁有的鍵(線條紙的 paper、shape、corner、line、tail、shadow、style、relief、tickSize、outfit、savedPaper、mine,於 2026-11-26 移除)也會以該鍵的欄位名稱同樣拒絕。
  • 讀回(settings.speech):回報生效的值,並附上 colors(僅在 colorway 為 custom 時)與 own(覆寫的軸,自訂時包含 foldMark)。

對話視窗(speechWindow)

「對話視窗(speechWindow)」一節

擺放並調整這位居民的對話視窗大小,效果同親手拖移視窗或其邊緣。

  • 格式:以點為單位的 {corner, dx, dy, width, height}——dx 與 dy 從居民靜止身體中心算至視窗的 corner(bottomLeft、bottomRight、topLeft 或 topRight;預設 bottomLeft;+y 往上),視窗大小改變時這個角保持不動。settings.speechWindow 採用相同格式,可直接在不同居民間複製。
  • width、height:給數字就把該軸固定在剛好那個大小(如同親手拉邊緣會固定兩軸);null 或省略則該軸貼合內容(高度依居民的顯示段落)。
  • 重設:傳 null 恢復自動擺放與大小。視窗會跟著居民移動,並保持拉回螢幕內而不覆寫儲存的偏移量。
  • 新居民預設值:人親手擺放或調整視窗大小後,新建立的居民(包含 resident.ensure 建立的)會繼承該位置與固定的大小,除非由 initial.settings.speechWindow 覆寫。代理寫入 speechWindow 絕不會改變新居民的預設值。
  • CLI:resident set --to <selector> --input '{"speechWindow":...}'(恢復自動時傳 null)。

單一居民的通知和音效(notify、sound、…)

「單一居民的通知和音效(notify、sound、…)」一節

notify、notifyQuestion、notifyMessage、sound、soundQuestion 和 soundMessage 對應對話紙上這位居民的 有東西送到時 開關。

  • 傳 false 替這位居民靜音,或傳 null 重新跟隨整個 App 的設定。
  • 傳 true 會被拒絕:由整個 App 的開關決定哪些是開的,單一居民只能關掉。關掉在整個 App 已經關著的開關(或其上層關著)會以 rejected / arrivalOffForAll 失敗,並在 path 指名該開關。
  • resident.describe 對這位居民靜音的開關回報 false,跟隨 App 的回報 null。CLI:resident set --to <selector> --input '{"notify":false}' 等。

摺起視窗(speechFolded)

「摺起視窗(speechFolded)」一節

speechFolded: true 會把這位居民的對話視窗摺成摺起記號;false 則重新打開。視窗會以動畫收進或展開記號,摺起期間送到的訊息會列為未讀等待。若使用者正開著輸入框,視窗會立刻重新打開以保持開啟,請透過 resident.describe 讀取 settings.speechFolded 確認。CLI:resident set --to <selector> --input '{"speechFolded":true}'。

名牌和摺起記號的位置(nameplateSeat、foldMarkSeat)

「名牌和摺起記號的位置(nameplateSeat、foldMarkSeat)」一節

把名牌(nameplateSeat)或摺起記號(foldMarkSeat)放到 options.nameplateSeat 或 options.foldMarkSeat 提供的某個位置上。傳 null 恢復 自動。settings.nameplateSeat 和 settings.foldMarkSeat 會回報所選位置,自動時為 null。CLI:resident set --to <selector> --input '{"nameplateSeat":...}' 或 foldMarkSeat。

書桌上居民右鍵選單的每個項目及其代理對應方式(如果新增選單項目而未列入下表,自動化測試會失敗)。

完整右鍵選單對照表(選單項目 ↔ 代理操作)
項目 選單上的文字 從代理
settings 這位居民的設定… 打開設定紙(各列見上方的「設定紙與 resident.set」)
geometry 位置和大小… resident.place
conversation 過去的對話 conversation.read(由舊到新。人寫的內容,只有透過那位居民自己的 client: 讀取時才會附上)
motion 停止 / 播放 resident.set(motionEnabled: false 會停下。有姿勢可選時,選單會停在 pose(休息的畫格)。motionEnabled: true 會繼續動)
order 居民之間的前後 打開「居民之間的前後」子選單
orderMove 移到最前面 / 往前 / 往後 / 移到最後面 resident.set(order)
editNeighbour 被蓋住的居民名字 resident.place(在 to 指定被蓋住的居民。上面的居民會接走點按,所以人需要這個項目)
carry 帶到其他桌面 只有人能用:在人放下之前,它會跟著那個人切換桌面。代理用 onlyHere 把居民放到目前的桌面
duplicate 複製 resident.duplicate
hide 隱藏 resident.set(hidden)
desktop 在這個桌面 打開「在這個桌面」子選單
hideHere 隱藏這位居民 / 隱藏所有居民 resident.desktopVisibility(hideHere。只要有居民和代理綁定,everyone 就會被拒絕,所以要逐一指定代理可以寫入的居民)
onlyHere 只在這裡顯示這位居民 / 只在這裡顯示所有居民 resident.desktopVisibility(onlyHere。只要有居民和代理綁定,everyone 就會被拒絕)
showHidden 顯示隱藏的居民 resident.desktopVisibility(對每位隱藏的居民用 showHere。只要有居民和代理綁定,everyone 就會被拒絕)
stow 收起來 resident.stow
openStudio 開啟 Pixling Studio 只有人能用:為人開啟 Studio 視窗;代理本來就能直接操作桌面
quit 結束 Pixling app.quit
鍵 CLI 值與預設
gravity --gravity none(預設)、down、left、right 或 up(null/default 恢復 none)
gravityStrength --input / call 落下與丟出時的拉扯強度:25–400%(預設 100,50 一半,200 兩倍)
friction --input / call 丟出時的滑行/漂移減速:25–400%(預設 100)
gravityMenuBar --input / call 選單列保留帶:avoid(預設)或 ignore
gravityCameraArea --input / call 相機瀏海區域:avoid(預設)或 ignore
displayBoundary --input / call both(跨螢幕通過/反彈)或 single(留在出發螢幕)
  • 落下與微調:設定 gravity 會讓居民沿著與右鍵選單相同的有限弧線落下,並儲存落地位置。gravityStrength 與 friction 都不會移動靜止中的居民,只影響下一次落下或丟出。傳入 null 或 CLI default 會恢復各鍵的預設值。
  • 上緣:gravityMenuBar 與 gravityCameraArea 彼此獨立,並適用於所有重力方向的落下、丟出、彈跳與牆面光位置。avoid 停在選單列保留帶下方,ignore 則可達螢幕實體最上方;其他邊緣依螢幕可見區域。
  • 多螢幕行為(displayBoundary):設為 both 時,往上的重力只要實體上緣連接寬度足以容納整個身體,就會跨越進入上方螢幕(穿過保留帶與相機區域),丟出也會跨螢幕反彈。設為 single 時,每次落下、丟出與彈跳都留在出發的螢幕上;你仍可手動將居民移到其他螢幕。
  • 螢幕中繼資料:safeAreaTop: 0 只是觀察結果,不代表 Mac 機型判斷;Pixling 絕不從螢幕名稱猜測相機瀏海。resident.describe 回傳 upBoundary:active、ownerDisplayUUID、ownerConnected、regions(目前允許區域)、portals({lowerDisplayUUID, upperDisplayUUID, minX, maxX, y})與 endpoint({x, y} 或 null)。
  • 建立預設值:resident.ensure 在僅限建立時套用的 initial.settings 中接受相同鍵(居民綁定)。
  • 居民:列出、擺放、跟隨、設定暫時狀態、冒出表情、丟出、叫出、收起與讀取像素。
  • App 設定:更改整個 App 的對話紙預設值與全域通知開關。
  • 居民綁定:透過 resident.ensure 傳入僅限建立時套用的 initial.settings。
  • 連續動作:在計時連續動作期間套用暫時的 look 覆寫,不改動已儲存的設定。
  • 一句話和提問:說話送達、抵達音效與單次呼叫的通知覆寫。
  • CLI 指令:所有 pixling 子指令的完整自動產生旗標概要。